Text before the player name
#4

Yes, in 2 ways:

Set player name
or
Use SendclientMessage

Ok
(SetPlayername)
Код:
new old_name [24], new_txt [128];
GetPlayerName (playerid, old_name, 24);
format (new_txt, 128, "[TEXT]_%s", old_name);
SetPlayerName (playerid, new_txt);
format (new_txt, 128, "(%d) %s", playerid, text);
SendPlayerMessageToAll (playerid, new_txt);
SetPlayerName (playerid, old_name);
return 0;
Or

Код:
new name [24], txt [128];
format (txt, 128, "[TEXT] { USE EMBED COLORS TO SET PLAYER COLOR }%s{FFFFFF} (%d): %s", name, playerid, text);
SendClientMessageToAll(-1, txt);
return 0;
Reply


Messages In This Thread
Text before the player name - by Lucky™ - 17.06.2013, 15:21
Re: Text before the player name - by SilverKiller - 17.06.2013, 15:27
Re: Text before the player name - by Lucky™ - 17.06.2013, 15:38
Re: Text before the player name - by ReVo_ - 17.06.2013, 15:50
Re: Text before the player name - by Dragonsaurus - 17.06.2013, 15:54
Re: Text before the player name - by JJB562 - 17.06.2013, 15:56
Re: Text before the player name - by Lucky™ - 17.06.2013, 16:32

Forum Jump:


Users browsing this thread: 2 Guest(s)