Adding a mapping as a filterscript and 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)
+--- Thread: Adding a mapping as a filterscript and gamemode (
/showthread.php?tid=399606)
Adding a mapping as a filterscript and gamemode -
Josh_Main - 15.12.2012
Hello, I own my own server and I would like to know why when I add mappings to my server via the game mode under "onggamemodeinit" , I get 26 errors. If I add it as a filterscript, I cannot see it in game and nothing shows up. Could someone please re-run me through what I'm supposed to do to make it work please?
Re: Adding a mapping as a filterscript and gamemode -
DaRk_RaiN - 15.12.2012
Well am sure that those object that gave you errors are using streamer, or RemoveBuildingForPlayer.
As for the FS you clearly didn't compile it.
Its easy to fix, just put all RemoveBuildingForPlayer under OnPlayerConnect, in case you use srteamer, download one.
Re: Adding a mapping as a filterscript and gamemode -
Josh_Main - 15.12.2012
Thank you
Re: Adding a mapping as a filterscript and gamemode -
Josh_Main - 15.12.2012
Didn't work haha, still can't see it :/
Re: Adding a mapping as a filterscript and gamemode -
Sting. - 15.12.2012
How many objects do you have? Is it over 1000?
Re: Adding a mapping as a filterscript and gamemode -
Josh_Main - 15.12.2012
I think, yes. I converted them on CreateDynamicObject though