Lua/Server/Vehicle/Functions/SetHealth
From JC2-MP Documentation
Returns | none |
---|---|
Prototype | Vehicle:SetHealth(number) |
Description | No description |
Description
Sets a vehicle's health. The range is from 0 to 1.
Notes
- Setting a vehicle's health to 1 removes any smoke and broken wheels.
- Vehicles start flaming at 0.2 health.