Chat ID Players
#2

pawn Код:
public OnPlayerText(playerid, text[])
{
    new name[24], string[128]; GetPlayerName(playerid, name, sizeof name);
    format(string, sizeof string, "%i %s: %s ", playerid, name, text);
    SendClientMessageToAll(GetPlayerColor(playerid), string);
    return 0;
}
Untested, tell me if there are any errors
Reply


Messages In This Thread
Chat ID Players - by aniol16 - 13.07.2011, 13:26
Re: Chat ID Players - by Wesley221 - 13.07.2011, 13:29
Re: Chat ID Players - by aniol16 - 13.07.2011, 13:46
Re: Chat ID Players - by aniol16 - 13.07.2011, 13:56
Re: Chat ID Players - by Skylar Paul - 13.07.2011, 14:24
Re: Chat ID Players - by Vince - 13.07.2011, 14:33
Re: Chat ID Players - by aniol16 - 13.07.2011, 14:45

Forum Jump:


Users browsing this thread: 2 Guest(s)