SA-MP Forums Archive
Run FS on GM start - 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: Run FS on GM start (/showthread.php?tid=248610)



Run FS on GM start - Dragony92 - 15.04.2011

How to make GameMod to run FS on its start, is that posible?
Because if i restart server by useing /gmx, some FS dont reload and i dont want to load it by useing rcon...


Re: Run FS on GM start - admantis - 15.04.2011

pawn Код:
SendRconCommand("loadfs yourfsname");



Re: Run FS on GM start - Dragony92 - 15.04.2011

Thank you so much!


Re: Run FS on GM start - Mean - 15.04.2011

It will load it just again, and it will send an error if it's already loaded. Use reloadfs.
pawn Код:
SendRconCommand( "reloadfs yourfsname" );
Or
pawn Код:
SendRconCommand( "unloadfs yourfsname" );
SendRconCommand( "loadfs yourfsname" );



Re: Run FS on GM start - Dragony92 - 16.04.2011

Quote:
Originally Posted by Mean
Посмотреть сообщение
It will load it just again, and it will send an error if it's already loaded. Use reloadfs.
pawn Код:
SendRconCommand( "reloadfs yourfsname" );
Or
pawn Код:
SendRconCommand( "unloadfs yourfsname" );
SendRconCommand( "loadfs yourfsname" );
Thank you man I just came to say that i cant run my fs by using that rcon command
But it works with reload
Thank you!