Logging a Command
#1

How do I log a command, Like for example, the command " /setmoney " , how do I log that command ?
Reply
#2

OnPlayerCommandText
printf("Player (id=%d) typed the command=%s", playerid, cmdtext);

should work!
Reply
#3

Use search next time.

https://sampforum.blast.hk/showthread.php?tid=231085
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)