Posts: 93
Threads: 21
Joined: Mar 2008
Reputation:
0
How can I destroy a vehicle if it is not used, if someone will get in to it and if will exit it a vehicle will destroy after 3 mins. there must be killtimer if the timer is running and someone will get into vehicle which has a timer with destroy option.
Plese help.
Thanks
Posts: 93
Threads: 21
Joined: Mar 2008
Reputation:
0
i need to use createvehice because I am using it as vehicle spawner
so i can't use AddStaticVehicleEx because it respawns vehicle and doesn't delete it
Posts: 663
Threads: 42
Joined: May 2009
Reputation:
0
I would suggest you create a variable which is set to 1 OnPLayerExitVehicle. Create a timer OnGameModeInIt and within the timers public check the variables status 0 or 1. If 1 destroy the vehicle and reset the variable.