28.02.2016, 10:24
Did you paste your defines at the top of the script, or at the bottom?
Defines should be at the top of your script, and the function which use them below it.
If you have the functions listed first, followed by the defines, then you have the problem where the compiler seems to be unable to find your defines, because it hasn't found them yet.
Putting the #include at the bottom of the script has the same effect: defines not found.
When including files:
Always put #include a_samp first and your plugin includes.
These should be followed by any declaration includes (#defines, enums, arrays and global variables).
Lastly you should include your functions.
Defines should be at the top of your script, and the function which use them below it.
If you have the functions listed first, followed by the defines, then you have the problem where the compiler seems to be unable to find your defines, because it hasn't found them yet.
Putting the #include at the bottom of the script has the same effect: defines not found.
When including files:
Always put #include a_samp first and your plugin includes.
These should be followed by any declaration includes (#defines, enums, arrays and global variables).
Lastly you should include your functions.