dcmd error
#1

hey there ,

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;
}

Here is the error i get.

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

thanks in advanced
Reply


Messages In This Thread
dcmd error - by Thundey - 25.08.2013, 20:34
Re: dcmd error - by Dragonsaurus - 25.08.2013, 20:36
Re: dcmd error - by Thundey - 25.08.2013, 20:36

Forum Jump:


Users browsing this thread: 1 Guest(s)