Destroy car
#5

In case you just don't want to destroy the vehicle whenever the person destroying the vehicles is in the administrative vehicle: Check the vehicleID the player deleting the vehicles is in via GetPlayerVehicleID() and avoid destroying the vehicle with this specific ID.

If you don't want to destroy administrative vehicles in which any player is: Either document the players entering/leaving the vehicle in OnPlayerStateChange() or loop through all players to check if anybody is in this specific administrative vehicle you want to delete.
Reply


Messages In This Thread
Destroy car - by Ananisiki - 28.04.2014, 21:59
Re: Destroy car - by DobbysGamertag - 28.04.2014, 22:01
Re: Destroy car - by Ananisiki - 28.04.2014, 22:04
Re: Destroy car - by Ananisiki - 28.04.2014, 22:22
Re: Destroy car - by Campbell- - 28.04.2014, 22:31
Re: Destroy car - by Ananisiki - 29.04.2014, 21:24
Re: Destroy car - by gekas - 29.04.2014, 21:32
AW: Destroy car - by Macronix - 29.04.2014, 21:40
Re: Destroy car - by Abagail - 29.04.2014, 21:48
Re: Destroy car - by Ananisiki - 29.04.2014, 22:01

Forum Jump:


Users browsing this thread: 3 Guest(s)