SA-MP Forums Archive
[Help] One Filterscript loading twice - 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: [Help] One Filterscript loading twice (/showthread.php?tid=436485)



[Help] One Filterscript loading twice - Nixon_Lennon - 11.05.2013

Hi all. I'm sorry, because i have very bad english.

I moved all my server object in a single Filterscript. It worked perfectly on my local server (PC), but then i upload gamemode and filterscript on hosted-server (one of the best samp host in Russia), i got a problem: objects created on server twice time. I realized it, then destroyed created glass. It shows me again, then i destroyed that.

I have no idea, please help me


Re: [Help] One Filterscript loading twice - Nixon_Lennon - 11.05.2013

My FS code looks like:
PHP код:
#include <a_samp>
#include <streamer>
public OnGameModeInit()
{
        
CreateDynamicObject();
        
CreateDynamicObject();
        
CreateDynamicObject();

It's example of CreateDynamicObject