OnPlayerText
#3

Player Message (not client) starts with: "PlayerNameHere: " and it gets the color of the player. The rest are white.

So use client message instead.

pawn Код:
new
    sz_Name[ MAX_PLAYER_NAME ]
;
GetPlayerName( playerid, sz_Name, MAX_PLAYER_NAME );
format( stringbig, sizeof( stringbig ), "%s {FFFFFF}(%d): %s", sz_Name, playerid, text);
SendClientMessageToAll( GetPlayerColor( playerid ), stringbig );
Reply


Messages In This Thread
OnPlayerText - by Blackazur - 22.11.2013, 16:09
Re: OnPlayerText - by RajatPawar - 22.11.2013, 16:12
Re: OnPlayerText - by Konstantinos - 22.11.2013, 16:15

Forum Jump:


Users browsing this thread: 1 Guest(s)