SA-MP Forums Archive
problem with sending rcon commands... - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: problem with sending rcon commands... (/showthread.php?tid=68724)



problem with sending rcon commands... - hazdog - 13.03.2009

hai,

ive got a problem sending the rcon command changegamemode through my modified version of ladmin.


i have a menu that lets me change the gamemode, however when i end the game it doesnt work....

ive tried multiple ways of typing it, none of them make the compiler find any errors or warnings...

SendRconCommand("ChangeMode[carrier]");

SendRconCommand("ChangeMode, carrier");

none work, i would appreciate it if someone told me the params....


ty


Re: problem with sending rcon commands... - pen_theGun - 13.03.2009

Code:
SendRconCommand("changemode carrier");



Re: problem with sending rcon commands... - hazdog - 13.03.2009

ty very much


Re: problem with sending rcon commands... - hazdog - 13.03.2009

im still having trouble, the server just crashes whenever i attempt it now


Re: problem with sending rcon commands... - mascii - 13.03.2009

Yes, most times when I change the gm in game it causes a crash
Not sure why


Re: problem with sending rcon commands... - hazdog - 13.03.2009

mmmmm, like in ladmin


/changemode carrier


CRASH....


please help.


Re: problem with sending rcon commands... - lesley - 13.03.2009

using YSF?


Re: problem with sending rcon commands... - hazdog - 13.03.2009

sorry, dont know what YSF is.


Re: problem with sending rcon commands... - Norn - 13.03.2009

Probably to do with your gamemode.


Re: problem with sending rcon commands... - Mikep - 13.03.2009

Your server crashes, or you crash?

Make sure the GM exists.


Re: problem with sending rcon commands... - ICECOLDKILLAK8 - 13.03.2009

Quote:
Originally Posted by DJLOBO
Quote:
Originally Posted by Mikep
Your server crashes, or you crash?

Make sure the GM exists.
yes hazdog ,if the game is "Dispute" and you put "dispute" it dont work ,need to be the same thing ...


btw i dont know if you dont need to be loged in rcon to acess in rcon "cmds" like sendrcon changemode
If the script is using SendRconCommand then he does not need to be logged into admin


Re: problem with sending rcon commands... - hazdog - 13.03.2009

yes, its not a problem with my gamemode, ive tried it with about 25 different gm's.

it must be something with the params


Re: problem with sending rcon commands... - mascii - 13.03.2009

What happens to me is,
My gm excecutes the comand sendrconcommand("changemode blahh") and it changes nicly, then when blahh's ground time finishes it returns to my origional gm. But around 10 min later the server crashes




Re: problem with sending rcon commands... - hazdog - 14.03.2009

ill keep trying


Re: problem with sending rcon commands... - gamerhead - 04.01.2011

Hey, i have the same problem and need help.
Only i use SendRconCommand("reloadfs account");
Then the server crashes


Re: problem with sending rcon commands... - HyperZ - 04.01.2011

Quote:
Originally Posted by gamerhead
Посмотреть сообщение
Hey, i have the same problem and need help.
Only i use SendRconCommand("reloadfs account");
Then the server crashes
Make sure you have 'account.amx' in your filterscripts Folder.


Re: problem with sending rcon commands... - Mean - 04.01.2011

Use SendRconCommand("gmx"); too, but dunno if it'll work...