CreateVehicle question
#1

Hello!
How do I make it so that a vehicle created using CreateVehicle (say, with a /v command) will be deleted within X ms of being unoccupied?
Reply
#2

https://sampwiki.blast.hk/wiki/CreateVehicle

Quote:

Parameters:
(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay)

If you set this to 10, the vehicle will respawn 10 seconds after the driver exits. If you want it so that it's destroyed if no driver was ever in it, use a timer.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)