Logging a Command - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Logging a Command (
/showthread.php?tid=431417)
Logging a Command -
!Junior! - 18.04.2013
How do I log a command, Like for example, the command " /setmoney " , how do I log that command ?
Re: Logging a Command -
ryanhawk31 - 18.04.2013
OnPlayerCommandText
printf("Player (id=%d) typed the command=%s", playerid, cmdtext);
should work!
Re: Logging a Command -
BlackID - 18.04.2013
Use search next time.
https://sampforum.blast.hk/showthread.php?tid=231085