Need a little help on player id.
#3

pawn Код:
public OnPlayerText(playerid, text[])
{
    new string[256], PlayerName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, PlayerName, sizeof PlayerName);
    format(string, sizeof string, "%s(%i): {FFFFFF}%s", PlayerName, playerid, text);
   
    return SendClientMessageToAll(GetPlayerColor(playerid), string);
}
Something like this should work?
Reply


Messages In This Thread
Need a little help on player id. - by iOxide - 17.11.2013, 15:41
Re: Need a little help on player id. - by Konstantinos - 17.11.2013, 15:43
Re: Need a little help on player id. - by knackworst - 17.11.2013, 15:45
Re: Need a little help on player id. - by iOxide - 17.11.2013, 15:52
Re: Need a little help on player id. - by SuperViper - 17.11.2013, 18:20
Re: Need a little help on player id. - by iOxide - 18.11.2013, 11:32

Forum Jump:


Users browsing this thread: 2 Guest(s)