One Little Problem...
#2

pawn Code:
for(new i = 0; i < MAX_PLAYERS; i++)
{
    if(IsPlayerConnected(i))
    {
        new string[100], name[24];
        GetPlayerName(playerid,name,24);
        format(string,sizeof(string),"%s has slapped everyone",name);
        SendClientMessageToAll(-1, string);
    }
}
Not sure it'll work..I'm not that good of a scripter after all .
EDIT: Forgot a bracket after IsPlayerConnected.
Reply


Messages In This Thread
One Little Problem... - by Tigerbeast11 - 22.08.2011, 15:28
Re: One Little Problem... - by Darnell - 22.08.2011, 15:29
Re: One Little Problem... - by Tigerbeast11 - 22.08.2011, 15:36
Re: One Little Problem... - by Dragony92 - 22.08.2011, 16:58

Forum Jump:


Users browsing this thread: 1 Guest(s)