HAS_VEHICLE_BEEN_DAMAGED_BY_BULLETS
Signature
BOOL HAS_VEHICLE_BEEN_DAMAGED_BY_BULLETS(Vehicle vehicle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | The target vehicle. |
Returns BOOL — Returns whether or not the target vehicle has been damaged by bullets.
Usage
local retval = HasVehicleBeenDamagedByBullets(vehicle)
-- always works, by hash
local retval = Citizen.InvokeNative(0xb8af3137, vehicle, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = HasVehicleBeenDamagedByBullets(vehicle);
// by hash
const retval = Citizen.invokeNative('0xb8af3137', vehicle, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xb8af3137, vehicle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.