Question to chat in the game
#5

Sorry, typo.
pawn Code:
public OnPlayerText(playerid, text[])
{
    new
        string[128],
        name[MAX_PLAYER_NAME]
    ;
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string),"%s (ID: %d): %s", name, playerid, text);
    SendClientMessageToAll(GetPlayerColor(playerid), string);
    return false;
}
Reply


Messages In This Thread
Question to chat in the game - by styl3raaa - 03.10.2011, 13:20
Re: Question to chat in the game - by Kostas' - 03.10.2011, 13:24
Re: Question to chat in the game - by Jafet_Macario - 03.10.2011, 13:29
Re: Question to chat in the game - by styl3raaa - 03.10.2011, 13:50
Re: Question to chat in the game - by Jafet_Macario - 03.10.2011, 13:57
Re: Question to chat in the game - by styl3raaa - 03.10.2011, 13:58
Re: Question to chat in the game - by Jafet_Macario - 03.10.2011, 14:08
Re: Question to chat in the game - by iPLEOMAX - 03.10.2011, 14:26
Re: Question to chat in the game - by styl3raaa - 03.10.2011, 14:32
Re: Question to chat in the game - by iPLEOMAX - 03.10.2011, 14:33

Forum Jump:


Users browsing this thread: 1 Guest(s)