ERRor
#2

There is no 'playerid' parameter in SendClientMessageToAll

See Here:
https://sampwiki.blast.hk/wiki/SendClientMessageToAll

pawn Код:
stock ClearChatForAll(playerid)
{
    SendClientMessageToAll(-1,"SERVER: Admin have clear the chat box.");
    return 1;
}

stock ShowPlayerStats(playerid)
{
    SendClientMessageToAll(-1,"SERVER: Natan is work. keep it UP.");
    return 1;
}
NOTE: If ClearChatForAll is supposed to clear the chat as well, I recommend using:
pawn Код:
for(new i = 0; i < 100; i++)
{
    SendClientMessageToAll(-1, " ");
}
Reply


Messages In This Thread
ERRor - by HUYA - 18.01.2013, 09:54
Re: ERRor - by Threshold - 18.01.2013, 09:57
Re: ERRor - by azzerking - 18.01.2013, 09:58
Re: ERRor - by DaRk_RaiN - 18.01.2013, 10:00

Forum Jump:


Users browsing this thread: 1 Guest(s)