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