Admins can see which command player typed?
#4

easy. example:
pawn Код:
CMD:help(playerid, params[])
{
//code
Getplayername(playerid)
format(str, sizeof(str), "[CMD][%d][%s]: /help", playerid, playername)
foreach(...)
{
    if (playerstats[i][adminlv]>0)
    {
        SendCLientMessage(i, -1, str)
    }
}
return 1;
}
EDIT: and you add this loop in every command with changed str
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)