Run a filterscript through a gamemode? - 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 a filterscript through a gamemode? (
/showthread.php?tid=190091)
Run a filterscript through a gamemode? -
mtywe - 14.11.2010
Is it possible to make the gamemode initiate the start of a filterscript, i thought there was a way.... Or is there a way to make a filterscript run AFTER the gamemode loads?
UPDATE!
Ok i just read if i add "SendRconCommand" i can run a filterscript through the gamemode but how would i go about using that command? to run a filter script called lets say "BOB"
Re: Run a filterscript through a gamemode? -
Simon - 14.11.2010
pawn Код:
public OnGameModeInit()
{
// Will load the filterscript named BOB when the
// game mode starts.
SendRconCommand("loadfs BOB");
return 1;
}
Re: Run a filterscript through a gamemode? -
mtywe - 14.11.2010
Thanks alot!