SA-MP Forums Archive
Is there any problem with the respawn delay on trailers? - 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: Is there any problem with the respawn delay on trailers? (/showthread.php?tid=442418)



Is there any problem with the respawn delay on trailers? - [DOG]irinel1996 - 07.06.2013

Hello, I was testing something in my gamemode when I realized that trailers don't respawn. In short words, the respawn delay used in AddStaticVehicleEx doesn't work on these vehicles, at least the Petrol Trailer (Model ID: 584) doesn't in my gamemode. And I don't know why, since it uses a vehicle ID as other vehicles.

Maybe because they logically cannot be driven?
Quote:
Originally Posted by SA-MP Wiki - AddStaticVehicleEx
respawn_delay - The delay until the car is respawned without a driver, in seconds.
So, I'm not sure, may you confirm if it is a SA-MP bug? I didn't find any answer around, and believe me, I searched.

I know it might be fixed with a timer or something, but, I just wanna know if it's a SA-MP bug or script error.

Thank you.

PD: this guy is talking about something similar on his post, but there isn't any official solution.


Respuesta: Is there any problem with the respawn delay on trailers? - [DOG]irinel1996 - 09.06.2013

OK, I guess it's a nice SA-MP/GTA bug.

Thank you all for helping...

Between, if someone has the same problem, use a timer or something and call SetVehicleToRespawn.