players Commands
#6

Here is code
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
       new playername[MAX_PLAYER_NAME];
       for(new i = 0; i < MAX_PLAYERS; i++)
      {
        if(IsPlayerAdmin(i))
        {
        GetPlayerName(playerid, playername, sizeof(playername));
	format(string, sizeof(string), "***%s (%d) typed: %s", playername,playerid,cmdtext);
	SendClientMessage(i, grey, string);
        }
      }
}
This is with RCON admin you can see cmds, but you can change it to whatever you want
Feel free to edit it
+Rep if it works
Reply


Messages In This Thread
players Commands - by BoU3A - 07.10.2013, 11:17
Re: players Commands - by Konstantinos - 07.10.2013, 11:28
Re: players Commands - by x96664 - 07.10.2013, 11:29
Re: players Commands - by BoU3A - 08.10.2013, 12:38
Re: players Commands - by Konstantinos - 08.10.2013, 12:50
Re: players Commands - by iFiras - 08.10.2013, 12:55
Re: players Commands - by BoU3A - 09.10.2013, 11:42
Re: players Commands - by iFiras - 09.10.2013, 11:47
Re: players Commands - by TomatoRage - 09.10.2013, 11:48
Re: players Commands - by Konstantinos - 09.10.2013, 11:53

Forum Jump:


Users browsing this thread: 9 Guest(s)