SA-MP Forums Archive
Doubles Objects and CarS? - 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: Doubles Objects and CarS? (/showthread.php?tid=201332)



Doubles Objects and CarS? - Sledge - 20.12.2010

How come when I restart my server some of my cars spawn twice? I checked my script for duplicates and there are none. There is nothing in GameModeExit() too.

Also, one of my gang zones doesn't work but the rest do. Any possibilities?


Re: Doubles Objects and CarS? - blackwave - 21.12.2010

If your using FS:
pawn Код:
public OnFilterScriptExit()
{
        for(new i = 0; i < MAX_VEHICLES; i++)
    {
       DestroyVehicle(i);
    }
    return 1;
}



Re: Doubles Objects and CarS? - Sledge - 21.12.2010

Thanks, braw.