|
|
#1 |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2009
Posts: 7,012
Reputation: 83
|
This works on same way as DCMD but only difference is that this function is for RCON commands.
Function: pawn Code:
pawn Code:
Example: pawn Code:
Credits: DracoBlue - [HowTo] Fast command processor: DCMD Last edited by Correlli; 14/09/2012 at 10:18 PM. |
|
|
|
|
|
#2 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Jul 2008
Posts: 286
Reputation: 0
|
Don't you need permsion if its a edit?
and i don't really understand |
|
|
|
|
|
#3 | |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2009
Posts: 7,012
Reputation: 83
|
Quote:
|
|
|
|
|
|
|
#4 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2008
Location: Somerset, England
Posts: 2,030
Reputation: 16
|
Cool. Nice work Don Correlli.
|
|
|
|
|
|
#5 | ||||
|
Big Clucker
![]() ![]() Join Date: Aug 2006
Location: Germany
Posts: 155
Reputation: 14
|
Quote:
Quote:
Quote:
Quote:
|
||||
|
|
|
|
|
#6 |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2009
Posts: 7,012
Reputation: 83
|
I mean, it's meant to work with '/' in front of it, OnPlayerCommandText always looks for '/' character in front of the command
while OnRconCommand doesn't. |
|
|
|
|
|
#7 |
|
Big Clucker
![]() ![]() Join Date: Aug 2006
Location: Germany
Posts: 155
Reputation: 14
|
Uhm,I guess I understood you now.You want the Rcon cmds to start with '/'.
Code:
#define rcmd(%1,%2,%3) if((strcmp((%3),"/" #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (rcmd_%1(""))) || (((%3)[(%2) + 1] == 32) && (rcmd_%1((%3)[(%2) + 2]))))) return 1
|
|
|
|
|
|
#8 | |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2009
Posts: 7,012
Reputation: 83
|
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Include] [INC] zcmd 0.3.1 | Fast & Simple Command Processor (updated 30/10/2009) | Zeex | Includes | 500 | 15/04/2013 09:05 AM |
| [HowTo] Fast command processor: DCMD (0.3 Ready) | DracoBlue | Help Archive | 9 | 28/11/2010 11:13 AM |
| [HR/SR:FS] Fast rcon command processor: RCMD (modified DCMD) | Correlli | Archive | 0 | 16/11/2009 09:20 PM |
| fast command processor | [mad]MLK | Help Archive | 1 | 22/08/2009 01:32 AM |
| rcmd, like dcmd but for rcon commands! | Daren_Jacobson | Help Archive | 4 | 02/03/2009 09:02 PM |