SA-MP Forums

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

Thread Tools Display Modes
Old 09/12/2017, 03:14 AM   #1
Posts: n/a
Default 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.
PHP Code:
public OnRconCommandAttempt(playeridcmdtext[], islogged
- Pawn.RakNet:
- Github

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

Good job, short and useful code as always. Pawn.RakNet is really helpful!
RIDE2DAY is offline   Reply With Quote

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 12:03 AM.

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