08.04.2013, 16:48
// Fixed.
CMD:cc(playerid, params[])
{
if(APlayerData[playerid][PlayerLevel] >= 1){
for(new i = 0; i < 100; i ++) SendClientMessageToAll(COLOR_WHITE, " ");
SendClientMessageToAll(0x0079F2FF,"Chat Cleared!");
}
return 1;
}
CMD:cc(playerid, params[])
{
if(APlayerData[playerid][PlayerLevel] < 1)
{
for(new i = 0; i < 100; i ++)
{
SendClientMessageToAll(-1, " ");
}
SendClientMessageToAll(0x0079F2FF,"Chat Cleared!");
}
return 1;
}
Are you sure? Because it's compiling fine for me. However, try this:
pawn Код:
|