04.11.2015, 10:36
Код:
public OnGameModeInit() { new String[4]; format(String, sizeof(String), "%d", playerid); } public OnPlayerCommandText(playerid, cmdtext[]) if(strcmp("/checar", cmdtext, true) == 0) { for(new i = 494, j = GetVehiclePoolSize(); i == j; i++) IsPlayerInVehicle(playerid, 494); Kick("%d"); return 1; }
Код:
C:\Users\Andre\Desktop\samp037_svr_R2-1-1_win32\gamemodes\Untitled.pwn(72) : error 017: undefined symbol "playerid" C:\Users\Andre\Desktop\samp037_svr_R2-1-1_win32\gamemodes\Untitled.pwn(197) : error 035: argument type mismatch (argument 1)