01.06.2013, 07:22
You can do
not sure if this is what you want, the way i've done it is a watchlist, if the person is on there, it sends the command that they entered to admins as " xx entered command: xx" and saves to file, if they arent, it saves to file.
like this:
pawn Код:
forward OnPlayerCommandPerformed(playerid, cmdtext[], success);
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success) //send it to admins or save to file.
if(success)
//do the same as above.
return 1;
}
like this:
Код:
[01/06/2013 | 07:42:17] Dobby entered command /rc 134