Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Compile - Followed SAMPCTL instructions #65

Open
DJShocker opened this issue Jan 1, 2022 · 8 comments
Open

Can't Compile - Followed SAMPCTL instructions #65

DJShocker opened this issue Jan 1, 2022 · 8 comments

Comments

@DJShocker
Copy link

PS C:\Users\Administrator\Desktop\gta-open-master> sampctl package run
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\user-interface\ui_time-left.inc:63 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\user-interface\ui_money-notification.inc:55 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\account\account_stats.inc:115 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\player\player_spawn-protection.inc:13 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\player\attachment\attachment.inc:290 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\player\job\job_rapist-impl.inc:79 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\player\vehicle\vehicle_impl.inc:235 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\admin\admin_cmd-atm.inc:26 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\burglary_system.inc:278 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\burglary_system.inc:290 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\burglary_system.inc:319 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\burglary_system.inc:325 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\burglary_system.inc:331 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\tower_system.inc:103 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\tower_system.inc:115 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\tower_system.inc:127 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\jailcell_system.inc:36 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\crack_system.inc:176 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\weed_system.inc:77 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\car_crusher.inc:155 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\atm_robbery.inc:129 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\jobs\trucker.inc:147 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\jobs\trucker.inc:153 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\jobs\trucker.inc:159 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\jobs\trucker.inc:165 (error) function with tag result used before definition, forcing reparse
C:\Users\Administrator\Desktop\gta-open-master\gamemodes\core\systems\jobs\pizza_delivery.inc:154 (error) function with tag result used before definition, forcing reparse
@ItsStev
Copy link
Collaborator

ItsStev commented Jan 1, 2022

Have you ran "ensure" and the "build" command before running?

@DJShocker
Copy link
Author

Have you ran "ensure" and the "build" command before running?

Correct. Here's the SS
image

@DJShocker
Copy link
Author

So any ideas? Do I need a specific sampctl version or what am I missing.

@PatrickGTR
Copy link
Owner

So any ideas? Do I need a specific sampctl version or what am I missing.

Hi, This seems to be an issue with the latest y_timers, I am pending reply from Y_Less.

@DJShocker
Copy link
Author

So any ideas? Do I need a specific sampctl version or what am I missing.

Hi, This seems to be an issue with the latest y_timers, I am pending reply from Y_Less.

Oh thank you lol this was my first time using sampctl and I thought I did something wrong.

@PatrickGTR
Copy link
Owner

So any ideas? Do I need a specific sampctl version or what am I missing.

Hi, This seems to be an issue with the latest y_timers, I am pending reply from Y_Less.

Oh thank you lol this was my first time using sampctl and I thought I did something wrong.

Hi, I have got a response back. I don't have time right now.

There was a change in y_timers and broke some lines in the code.

The timers must be declared before calling them. If you can do the fixes, I would really appreciate it! Otherwise you will be waiting for me & when I have time.

@DJShocker
Copy link
Author

DJShocker commented Jan 3, 2022

I'm not a pro-level scripter, but I have some knowledge. I'll see what I can do.
Also, Tell Y_Less to stop breaking stuff! :-p

@s4marium
Copy link

For me, it works because you need to put the functions at the very top of the script because they used an older version of the compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants