onplayertext
#4

pawn Code:
public OnPlayerText(playerid, text[])
{
    new string[128], VBName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, VBName, MAX_PLAYER_NAME); // fix name
    format(string, sizeof(string),"{FFDC00}[%d] {%h}%s:{FFFFFF} %s",playerid, GetPlayerColor(playerid) >>> 8, VBName,text); // fix colour :d
    SendClientMessageToAll(-1,string);
    return 0;
}
Reply


Messages In This Thread
onplayertext - by spd_sahil - 11.04.2012, 13:29
Re: onplayertext - by emokidx - 11.04.2012, 13:51
Re: onplayertext - by Cjgogo - 11.04.2012, 13:53
Re: onplayertext - by ViniBorn - 11.04.2012, 14:38

Forum Jump:


Users browsing this thread: 3 Guest(s)