Quote:
Originally Posted by FalconX
I believe you want something like this:-
pawn Код:
public OnPlayerText(playerid, text[]) { new szChatString[ 150 ]; format( szChatString, sizeof( szChatString ), "(%d) %s: %s", playerid, PlayerName( playerid ), text ); SendClientMessageToAll( GetPlayerColor( playerid ), szChatString ); return 0; }
stock PlayerName( playerid ) { new pName[ MAX_PLAYER_NAME ]; GetPlayerName( playerid, pName, sizeof( pName ) ); return pName; }
Hope this helps?
Regards,
FalconX
|
Both script are working fine thanks. But im just confused whats the difference between you and newbienoob script?