SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 18/04/2013, 03:12 AM   #1
!Junior!
Little Clucker
 
Join Date: Sep 2011
Posts: 5
Reputation: 0
Default Logging a Command

How do I log a command, Like for example, the command " /setmoney " , how do I log that command ?
!Junior! is offline   Reply With Quote
Old 18/04/2013, 03:31 AM   #2
ryanhawk31
Big Clucker
 
Join Date: Apr 2013
Posts: 67
Reputation: 2
Default Re: Logging a Command

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

should work!
__________________
ryanhawk31 is offline   Reply With Quote
Old 18/04/2013, 03:32 AM   #3
BlackID
Big Clucker
 
Join Date: Dec 2011
Location: Indonesia
Posts: 60
Reputation: 1
Default Re: Logging a Command

Use search next time.

http://forum.sa-mp.com/showthread.php?t=231085
__________________

Join GamerX Server Today.
GamerX is also one of the oldest SA:MP server.
BlackID is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not logging me in? RLGaming Scripting Help 4 02/11/2012 05:04 PM
Command logging newarvuti Help Archive 2 13/06/2011 05:52 PM
Logging ip's? Face9000 Help Archive 2 02/10/2010 01:01 PM
ban logging... Face9000 Help Archive 12 10/09/2010 02:41 AM
Logging in... Ren Sawaki Client Support 1 25/07/2009 04:57 PM


All times are GMT. The time now is 10:30 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.