Text before the player name
#5

pawn Код:
public OnPlayerText(playerid, text[])
{
    new message[128], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof (name));
    format(message, sizeof (message), "[Text here] %s (%d):{FFFFFF} %s",name, playerid, text);
    SendClientMessageToAll([Color here], message);
    return 0;
}
Works only if you want to add a static text.
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: 1 Guest(s)