Read cmds
#7

If you are using ZCMD, then try this.

pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
    for(new i = 0; i < MAX_PLAYERS; i ++)
    if(IsPlayerAdmin(i))
    {
    if(IsPlayerConnected(i))
    {
    new string[50];
    format(string, sizeof(string), "*[INFO]: %s has typed %s.*", GetName(playerid), cmdtext);
    SendClientMessage(i, -1, string);
    }
    }
    return 1;
}
Reply


Messages In This Thread
Read cmds - by fiter12 - 22.11.2013, 16:46
Re: Read cmds - by Konstantinos - 22.11.2013, 16:51
Re: Read cmds - by fiter12 - 22.11.2013, 16:53
Re: Read cmds - by fiter12 - 26.11.2013, 17:53
AW: Read cmds - by BigETI - 26.11.2013, 17:56
Re: Read cmds - by fiter12 - 01.12.2013, 17:51
Re: Read cmds - by Areax - 01.12.2013, 18:04

Forum Jump:


Users browsing this thread: 2 Guest(s)