How do I make a vehicle respawn when not in it
#2

It removes the player, the player does not press enter/f to exit the vehicle so it will be called.

So:

Quote:
Originally Posted by doreto
Посмотреть сообщение
CreateVehicle(modelid, Float: x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay - The delay until the car is respawned without a driver in seconds);
or
AddStaticVehicleEx(modelid, Float: x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay - The delay until the car is respawned without a driver in seconds);

When player exit from behicle after x seconds vehicle will be respawned.
Or

Use OnPlayerStateChange instead. If the oldstate was driver and the newstate is different from driver (to prevent /getin command - if you have) and do the rest.
Reply


Messages In This Thread
How do I make a vehicle respawn when not in it - by ExtendedCarbon - 08.09.2013, 14:59
Re: How do I make a vehicle respawn when not in it - by Konstantinos - 08.09.2013, 15:02

Forum Jump:


Users browsing this thread: 3 Guest(s)