Creating RCON commands
#1

Is there a way to create your own RCON commands?
:P
Reply
#2

Quote:
Originally Posted by mavtias
Is there a way to create your own RCON commands?
:P
well i dunno(never used)
but i guess onRconCommand would be used for sumin like that^^
Reply
#3

Or you could do is:

use IsPlayerAdmin

Add your commands under OnPlayerText then login to rcon and your commands would work.
Reply
#4

You can only do this in filterscripts, not working in GMs (tbh I can't remember why).

Check out this post - http://forum.sa-mp.com/index.php?top...4372#msg834372

Or you can only make a command and check if the player is logged in as a RCON admin.
Reply
#5

Quote:
Originally Posted by mavtias
Is there a way to create your own RCON commands?
:P
You can, but only in FS.

http://forum.sa-mp.com/index.php?topic=119178.0 / http://forum.sa-mp.com/index.php?topic=113647.0
Reply
#6

Quote:
Originally Posted by TheOneThatOwnZ
Or you could do is:

use IsPlayerAdmin

Add your commands under OnPlayerText then login to rcon and your commands would work.
Lol I want It in RCON not Ingame :P
Reply
#7

Don Correlli , you wrong. You can in gamemode too , but you must put in a filterscript which is used ,
pawn Код:
forward OnRconCommand(playerid,cmd[]);
public OnRconCommand(playerid,cmd[]) return 0;
Reply
#8

Quote:
Originally Posted by Angel φ
Don Correlli , you wrong. You can in gamemode too , but you must put in a filterscript which is used ,
pawn Код:
forward OnRconCommand(playerid,cmd[]);
public OnRconCommand(playerid,cmd[]) return 0;
No he's not!
You can't make your own RCON commands (like in OnPlayerCommandText) in GMs, they will only work in FS's.
Reply
#9

Quote:
Originally Posted by Angel φ
Don Correlli , you wrong. You can in gamemode too , but you must put in a filterscript which is used ,
pawn Код:
forward OnRconCommand(playerid,cmd[]);
public OnRconCommand(playerid,cmd[]) return 0;
Someone already mentioned this a long time ago and i've tried it and it's was not working how it should.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)