28.08.2009, 07:48
I need some help with the vehicle health.
What is the maximum health of a vehicle?
What health must the car reach to burn?
And a question,if this code is good at a callback that is called every second
What is the maximum health of a vehicle?
What health must the car reach to burn?
And a question,if this code is good at a callback that is called every second
Quote:
if(IsPlayerInAnyVehicle(i)) { new Float:health1; if(GetVehicleHealth(newcar,health1) <= ((certain health,I don't know how much yet))) { TogglePlayerControllable(i, 0); ShowMenuForPlayer(CarMenu,i); } } |