Despawn all unused vehicles
#3

1.Create A variable like Unused[carid] or something like that
2.Create a timer of your choice , the time will be in how much time the vehicle becomes "unused"
3.In the timer function , set the unused variable to 1.
4.Go to OnPlayerExitVehicle and call the timer here.
5.Make command that will respawn all the vehicles that are unused

So like that vehicles without a driver will become unused after some time ( time defined by the timer )
Reply


Messages In This Thread
Despawn all unused vehicles - by Garc1a - 06.06.2012, 15:38
Re: Despawn all unused vehicles - by mahdi499 - 06.06.2012, 15:42
Re: Despawn all unused vehicles - by zombieking - 06.06.2012, 15:45

Forum Jump:


Users browsing this thread: 1 Guest(s)