#include includes another script in your gamemode
Example
main.inc
Gamemode.pwn
pawn Код:
#include <a_samp> //includes a_samp.inc - if it fail it will give you an warning
#tryinclude <main> //try to include main.inc - if it fail nothing will happen
public OnGameModeInit()
{
AddPlayerClass( 0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0 );
}
if you complie your script, it would look something like that in the amx (just converted)
Код:
//samp stuff
main()
{
print("Main");
}
public OnGameModeInit()
{
AddPlayerClass( 0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0 );
}
How to fix your problem ?
Easy, you need to get the file "utils.inc" (serach for it - ****** helps, too)
And then put it in the include folder (?:\...\sa-mp_server_directory\pawno\include\)