Help with Compile error
#4

Quote:

here is the line:
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!" );
{
     for( new i = 0; i <= 100; i ++ ) SendClientMessageToAll( -1, "" );
}   return 1;
}
Alright,I think you have made mistake in last lines.
Instead of that (Note* this is only 1 part)
Код:
{
     for( new i = 0; i <= 100; i ++ ) SendClientMessageToAll( -1, "" );
}   return 1;
}
Try out this part (same part,but with chances)
Код:
   {
     for( new i = 0; i <= 100; i ++ ) SendClientMessageToAll( -1, "" );
     return 1;
   }
     
}
So at all it should looks like:
Код:
COMMAND:clearchat(playerid,params[])
{
   if( PlayerInfo[ playerid ][ pAdmin ] >= 1 ) return SendClientMessage( playerid, COLOR_RED, "ERROR: You must be level 1 to use this command!" );
   {
     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: 2 Guest(s)