SA-MP Forums Archive
Someone help me with 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: Someone help me with a GameMode? (/showthread.php?tid=202721)



Someone help me with a GameMode? - ifly4life - 24.12.2010

Ok well i have this problem i need to add some Filterscripts to game mode and i dont exactly know how..so if anybody culd tell me that would be great thanks in advance


Re: Someone help me with a GameMode? - [JnA]DukeNukem - 24.12.2010

open server.cfg with notepad and where it says filterscripts add your filterscripts e.x you want to add a filterscript named test

filterscripts test


Re: Someone help me with a GameMode? - ifly4life - 24.12.2010

i know i want to put them all into 1 gamemode


Re: Someone help me with a GameMode? - akis_tze - 24.12.2010

Well.. Open your gamemode with pawno, open also your fs
start copy the code from the fs into your gm
if you move all your fs code correctly, you are done


Re: Someone help me with a GameMode? - [JnA]DukeNukem - 24.12.2010

Don't forget to put the #include's also!


Re: Someone help me with a GameMode? - FreshDoubleX - 24.12.2010

Copy things from filterscript to gamemode.
Like, if you have some functions under OnFilterScriptInit, them copy & paste them under the OnGameModeInit.
Same with OnFilterScriptExit, copy & paste them under OnGameModeExit etc. Just ask if there are some errors or something.