[Help] Eror while complie
#1

i Got eror when compile the script
Quote:

//static
//string[2048];

//string[0] = 0;
foreach (new i : Player) if (PlayerData[i][pRobATM])
{
if(RobberyCounter[playerid] == 5) KillTimer(RobberyTimer[playerid]);
{
SendFactionMessageEx(FACTION_POLICE, COLOR_RADIO, "DISPATCHER: ATM robbery in progress. [Location: %s]", GetPlayerLocation(i));
}
}
return 1;

please tell me the solution
Quote:

D:\backup data\tag\samp037_svr_R2-1-1_win32\gamemodes\Scrp1.pwn(2235) : warning 235: public function lacks forward declaration (symbol "OnVehicleSirenStateChange")
D:\backup data\tag\samp037_svr_R2-1-1_win32\gamemodes\Scrp1.pwn(2256) : error 017: undefined symbol "foreach"
D:\backup data\tag\samp037_svr_R2-1-1_win32\gamemodes\Scrp1.pwn(2256) : error 029: invalid expression, assumed zero
D:\backup data\tag\samp037_svr_R2-1-1_win32\gamemodes\Scrp1.pwn(2256) : error 017: undefined symbol "i"
D:\backup data\tag\samp037_svr_R2-1-1_win32\gamemodes\Scrp1.pwn(2256) : fatal error 107: too many error messages on one line

thanks, sorry for my bad english
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)