SA-MP Forums Archive
OnRconCommand ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnRconCommand ? (/showthread.php?tid=387638)



OnRconCommand ? - Roel - 25.10.2012

Hello,


I have a simple question, what does this do?
Because it doesn't get called when a rcon command get executed.
So I was wondering what it does, and yes i have this in my filterscript that is loaded, like wiki says.


Re: OnRconCommand ? - Roel - 25.10.2012

I see, it only works when I put the script also inside the callback at the filterscript.
And it seems not to get's called when I sent a rcon cmd from outside the server, so it just useless...


Re: OnRconCommand ? - C00K13M0N$73R - 25.10.2012

It's for creating Rcon commands.


Re: OnRconCommand ? - Vince - 25.10.2012

It's called for stuff typed into the console window. Don't know if it works ingame.


Re: OnRconCommand ? - C00K13M0N$73R - 25.10.2012

Quote:
Originally Posted by Vince
Посмотреть сообщение
It's called for stuff typed into the console window. Don't know if it works ingame.
Yes, it work's ingame. /rcon [YourCommand]