Read cmds
#1

hello

I need one Filterscript with it, i can see all cmds used by player and pms too but when i log in as rcon. (like on Jake admin system, I have my owner admin and pm system).

if you can't make it tell me how to add it on gm.

Thanks
Reply
#2

It's very easy!

You format a string that you send to the player who will recieve the PM and you format another string that you send to the player who typed the command, right?

All you need to do is: format a last string with the name of the player who typed the command, the player who will recieve the PM and the message. You can now loop through the players and if that player is a RCON admin, send the formatted message.
Reply
#3

make it in pawno language.
Reply
#4

nobady knows how to make it?
i need one cmd with it i can read players cmds in real time (when i log in as rcon then i can see all cmds used by players like EX: Player x used /admins.)

Thanks
i wish some one post my script

Thanks again
Reply
#5

https://sampforum.blast.hk/showthread.php?tid=447813
Reply
#6

some one tell me how to make or how to add
Reply
#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


Forum Jump:


Users browsing this thread: 3 Guest(s)