onplayertext
#3

pawn Code:
public OnPlayerText(playerid, text[])
{
    new pName[MAX_PLAYER_NAME];
    new string[256];
    GetPlayerName(playerid, pName,sizeof(pName));
    format(string, sizeof(string),"{FFDC00}[%d] {%06x}%s:{FFFFFF} %s",playerid,pName,text);
    SendClientMessageToAll(GetPlayerColor(playerid),string);
    return 0;
}
Replace the whole code with what I gave you,if it's working Rep++,please?(I usually don't ask for rep,but I have 39 points and I want to have 40 :P)
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: 2 Guest(s)