RedM Natives

CAN_ANCHOR_BOAT_HERE

Hash0xC075176CFB8B4128
Runtime nameCanAnchorBoatHere
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x26C10ECBDA5D043B

Signature

BOOL CAN_ANCHOR_BOAT_HERE(Vehicle vehicle);

Parameters

NameTypeDescription
vehicleVehicle—

Returns BOOL

Usage

Lua
local retval = CanAnchorBoatHere(vehicle)

-- always works, by hash
local retval = Citizen.InvokeNative(0xC075176CFB8B4128, vehicle, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = CanAnchorBoatHere(vehicle);

// by hash
const retval = Citizen.invokeNative('0xC075176CFB8B4128', vehicle, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xC075176CFB8B4128, vehicle);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.