OnPlayerCommandPerformed
#1

~fixed~
Reply
#2

Код:
  if(pInfo[playerid][pLogged] == 1)
    {
	  new str[128];
	  format(str, sizeof(str),"» {B4B5B7}[CMD][%d]%s: {91F21B}%s",playerid,PlayerName(playerid),cmdtext);
	  SendMessageToAllAdmins(str,-1);
     }
Reply
#3

But i want that admins can see just the cmds which normal players typed not which cmds admins typed. Can someone help me?
Reply
#4

pawn Код:
if(IsCnRAdmin(playerid)) // change it
{
    new string[128];
    format(string, sizeof string, "%s Has Used The Command /yourcmdhere.", PlayerName(playerid));
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
}
Place this in the commands you want to.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)