IsVehicleDead
எச்சரிக்கை
செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!
Description
Check if a vehicle is dead.
Parameters
| Name | Description |
|---|---|
| vehicleid | The ID of the vehicle. |
Return Values
true - Vehicle is dead.
false - Vehicle is not dead.
Examples
if (IsVehicleDead(vehicleid))
{
// Vehicle is dead
}
else
{
// Vehicle is not dead
}
Related Functions
- SetVehicleDead: Sets the vehicle to dead.