02.07.2012, 20:58
Guys im making an command that is for admins lvl 1 and higher but getting this errors:
Errors come from this line:
Script:
can someone tell what I did wrong and how to fix it?
Thanks
Quote:
C:\Users\Games\Desktop\World European Trucking Server\filterscripts\NeonColorsV2.1.2Beta.pwn(286) : error 017: undefined symbol "APlayerData" C:\Users\Games\Desktop\World European Trucking Server\filterscripts\NeonColorsV2.1.2Beta.pwn(286) : warning 215: expression has no effect C:\Users\Games\Desktop\World European Trucking Server\filterscripts\NeonColorsV2.1.2Beta.pwn(286) : error 001: expected token: ";", but found "]" C:\Users\Games\Desktop\World European Trucking Server\filterscripts\NeonColorsV2.1.2Beta.pwn(286) : error 029: invalid expression, assumed zero C:\Users\Games\Desktop\World European Trucking Server\filterscripts\NeonColorsV2.1.2Beta.pwn(286) : fatal error 107: too many error messages |
PHP код:
if(APlayerData[playerid][PlayerLevel] >= 1)
PHP код:
CMD:carneon(playerid, params[])
{
if(APlayerData[playerid][PlayerLevel] >= 1)
{
ShowMenuForPlayer(neonmenu,playerid);
else
{
SendClientMessage(playerid, 0xFFFFFFAA, "ERROR: You cannot use this command!");
}
}
return 1;
}
Thanks