OnPlayerText Help [+REP]
#8

pawn Код:
public OnPlayerText(playerid, text[])
{
    if(IsPlayerAdmin(playerid))
    {
        new string[150], name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, MAX_PLAYER_NAME);
        format(string,sizeof(string),"{40E0D0}[ADMIN] {%06x}%s(%d): {FFFFFF}%s", GetPlayerColor(playerid) >>> 8, name, playerid, text);
        SendClientMessageToAll(-1, string);
        return 0;
    }
    return 1;
}
Reply


Messages In This Thread
OnPlayerText Help [+REP] - by Biggy54 - 23.09.2014, 15:51
Re: OnPlayerText Help [+REP] - by DavidBilla - 23.09.2014, 16:26
Re: OnPlayerText Help [+REP] - by Biggy54 - 23.09.2014, 17:35
Re: OnPlayerText Help [+REP] - by PMH - 23.09.2014, 17:51
Re: OnPlayerText Help [+REP] - by XStormiest - 23.09.2014, 17:58
Re : OnPlayerText Help [+REP] - by streetpeace - 23.09.2014, 17:59
Re: OnPlayerText Help [+REP] - by XStormiest - 23.09.2014, 18:03
Re: OnPlayerText Help [+REP] - by M0HAMMAD - 23.09.2014, 18:26
Re: OnPlayerText Help [+REP] - by Biggy54 - 24.09.2014, 01:21

Forum Jump:


Users browsing this thread: 2 Guest(s)