Respawning trailers
#1

Is there any way to make auto-respawn trailers just like cars?

So if trailer is not connected to any vehicle for X seconds, it will respawn.
Reply
#2

AddStaticVehicleEx contains a respawn time. I'm unsure if it will work with trailers though, worth a try.
Reply
#3

The timer works, so use AddStaticTimerEx.
Reply
#4

Btw what is the difference between AddStaticVehicleEx and CreateVehicle?

Timer won't work with trailers and they are not worth making whole custom respawn system. I am looking for simple solution already integrated into SAMP, if there is any.

EDIT: triggering SetVehicleToRespawn manually works on the trailers, but auto timer won't.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)