Help with Compile error
#2

It means that you don't have the variable "PlayerInfo" defined anywhere in your script, nor, it's defined in a local callback.

Also, you have another error that should be easily fixed by this:
pawn Код:
COMMAND:clearchat(playerid,params[])
{
   if( PlayerInfo[ playerid ][ pAdmin ] < 1 ) return SendClientMessage( playerid, COLOR_RED, "ERROR: You must be level 1 to use this command!" );
else
{
     for( new i = 0; i <= 100; i ++ ) SendClientMessageToAll( -1, "" );
}   return 1;
}
Reply


Messages In This Thread
Help with Compile error - by Geeboi_Mehdi - 20.01.2013, 15:02
Re: Help with Compile error - by [XST]O_x - 20.01.2013, 15:37
Re: Help with Compile error - by Geeboi_Mehdi - 20.01.2013, 15:54
Re: Help with Compile error - by Lol123pr0 - 20.01.2013, 16:25
Re: Help with Compile error - by Geeboi_Mehdi - 20.01.2013, 16:27
Re: Help with Compile error - by Lol123pr0 - 20.01.2013, 16:33
Re: Help with Compile error - by Geeboi_Mehdi - 20.01.2013, 16:36
Re: Help with Compile error - by MyNinja - 20.01.2013, 16:40
Re: Help with Compile error - by Geeboi_Mehdi - 20.01.2013, 16:44
Re: Help with Compile error - by Lol123pr0 - 20.01.2013, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)