SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 09/12/2017, 03:14 AM   #1
Jelly23
Guest
 
Posts: n/a
Default OnRconCommandAttempt

OnRconCommandAttempt
This include will send all rcon command attempts to OnRconCommandAttempt callback, regardless if you are logged in or not. Returning 0 prevents the command from reaching the server, even if it is a login attempt.
Callback
PHP Code:
public OnRconCommandAttempt(playeridcmdtext[], islogged
Dependencies
- Pawn.RakNet: http://forum.sa-mp.com/showthread.php?t=640306
Download
- Github

Last edited by Jelly23; 09/12/2017 at 05:52 AM.
  Reply With Quote
Old 09/12/2017, 03:15 AM   #2
RIDE2DAY
Huge Clucker
 
RIDE2DAY's Avatar
 
Join Date: Jul 2015
Location: Modena, Italy
Posts: 211
Reputation: 381
Default Re: OnRconCommandAttempt

Good job, short and useful code as always. Pawn.RakNet is really helpful!
RIDE2DAY 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



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


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