SA-MP Forums Archive
The vehicle created and disappeared after 1 sec - 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: The vehicle created and disappeared after 1 sec (/showthread.php?tid=339799)



The vehicle created and disappeared after 1 sec - tal_peretz - 05.05.2012

After something happens [and I don't know what], every vehicle that I created to player and I put the player in the vehicle disappeared after 1 sec, in %99 it works, but after pretty long time it happens ...


I don't know which code to give you here because when it happens it happens to ALL the systems.


Thanks


Re: The vehicle created and disappeared after 1 sec - ViniBorn - 05.05.2012

Change the last parameter of CreateVehicle/ AddStaticVehicleEx to -1