25.08.2013, 20:34
hey there ,
i got this error when trying to add /clearchat command and i think the /cc command is perfect...
Here is the error i get.
thanks in advanced
i got this error when trying to add /clearchat command and i think the /cc command is perfect...
Quote:
dcmd_cc(playerid,params[]) { if(Accountinfo[playerid][aLevel] < 3) return SendClientMessage(playerid, COLOR_RED, "AdminLevel 3 needed for this command!"); for(new i = 0; i < 100; i++) { SendClientMessageToAll(0x00000000, " "); } return 1; } |
Quote:
C:\Users\USER\Desktop\CnR\gamemodes\CNR.pwn(9626) : error 017: undefined symbol "Accountinfo" C:\Users\USER\Desktop\CnR\gamemodes\CNR.pwn(9626) : warning 215: expression has no effect C:\Users\USER\Desktop\CnR\gamemodes\CNR.pwn(9626) : error 001: expected token: ";", but found "]" C:\Users\USER\Desktop\CnR\gamemodes\CNR.pwn(9626) : error 029: invalid expression, assumed zero C:\Users\USER\Desktop\CnR\gamemodes\CNR.pwn(9626) : fatal error 107: too many error messages on one line |