Vehicle just gets removed from the server - 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: Vehicle just gets removed from the server (
/showthread.php?tid=646723)
Vehicle just gets removed from the server -
kevann - 22.12.2017
So when i enter a car in my server and drive for a few seconds it just gets deleted, it doesen't respawn it gets deleted even though its a scripted in vehicle? I don't get any error codes whatsoever so thats why i am asking here!
Anyone knows how to solve this?
Re: Vehicle just gets removed from the server -
RogueDrifter - 22.12.2017
Review your code and send here the places where you use DestroyVehicle , that move can be very damaging if used rapidly.
Re: Vehicle just gets removed from the server -
kevann - 22.12.2017
Solved,
AddStaticVehicleEx(445, -150.0259, 1082.1744, 19.6172,359.4242, 1, 1,
300);
the thick was not setup properly