Vehicle Shop messing up - 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: Vehicle Shop messing up (
/showthread.php?tid=190246)
Vehicle Shop messing up -
barneystinson - 14.11.2010
Hey guys i got a little problem with creating vehicles when buying from a car shop i made.
What happens is that when i buy the car everything goes well untill you blow the car or it goes in the water
it then respawns at the car shop location after a few seconds of it being destroyed.
I used this for buying the car
CreateVehicle(477, X+4, Y+4, Z + 3.0, Angle + 90.0, -1, -1, 5000);
I checked wiki about the respawn and i guess putting this
CreateVehicle(477, X+4, Y+4, Z + 3.0, Angle + 90.0, -1, -1, -1);
makes it set to not respawn but still it does lol
Anyone got any ideas?
Re: Vehicle Shop messing up -
barneystinson - 15.11.2010
Bumpy McBump
Re: Vehicle Shop messing up -
Blt950 - 15.11.2010
Tried to DestroyVehicle(); after it respawned? I think it would make it not respawn again. Not sure