Vehicles respawning when they shouldn't - 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: Vehicles respawning when they shouldn't (
/showthread.php?tid=495745)
Vehicles respawning when they shouldn't -
Vlad64 - 18.02.2014
Hey, I'm trying to make a RP server but every car respawns after a little bit of time (~5 mins) after somebody leaves that car. Cars that are added with AddStaticVehicle still respawn, even tough they're not added with AddStaticVehicleEx. Why?
Thanks.
Re: Vehicles respawning when they shouldn't -
Cvnnor - 18.02.2014
The -1 needs to be into the CreateVehicle line to stop the vehicle from respawning.
pawn Код:
CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, -1);
Re: Vehicles respawning when they shouldn't -
Vlad64 - 18.02.2014
Thanks