how to
#1

How can i see if i am a rcon admin what players are typing for commands?
Reply
#2

Hi FuTure`

You could try this:

Код:
//OnPlayerCommandText
for(new i=0; i<MAX_PLAYERS; i++)
{

  if(IsPlayerAdmin(i))
  {
    new str[256], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(str,sizeof(str),"%s sent command: %s",name,cmdtext);
    SendClientMessage(i,COLOUR,str);
  }

}
Give it a try.

Cheers,

TJ
Reply
#3

ty
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)