Help, dissapearance of vehicles - 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: Help, dissapearance of vehicles (
/showthread.php?tid=648350)
Help, dissapearance of vehicles -
dani18 - 20.01.2018
I would like someone to help me with a problem that i have recently. It turns out that when i add a command to spawn a vehicle "/v" spend 1 or 2 minutes and the vehicle disappears, i have no timer to appear or disappear, just happens.
what do you recommmend me to do?
Re: Help, dissapearance of vehicles -
RogueDrifter - 20.01.2018
search for DestroyVehicle(vehicleid); and show me the line, make sure after u destroy a vehicle linked to a variable id you do variable =-1; afterwards.
Re: Help, dissapearance of vehicles -
AmigaBlizzard - 20.01.2018
Seems like you destroy the vehicle under OnVehicleSpawn.
Re: Help, dissapearance of vehicles -
dani18 - 20.01.2018
Quote:
Originally Posted by RogueDrifter
search for DestroyVehicle(vehicleid); and show me the line, make sure after u destroy a vehicle linked to a variable id you do variable =-1; afterwards.
|
I do not understand very well what you mean
Re: Help, dissapearance of vehicles -
dani18 - 20.01.2018
Fixed, thanks all.