RedM Natives

SET_BOAT_REMAINS_ANCHORED_WHILE_PLAYER_IS_DRIVER

Old name: _SET_BOAT_FROZEN_WHEN_ANCHORED

Hash0x286771F3059A37A7
Runtime nameSetBoatRemainsAnchoredWhilePlayerIsDriver
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xE3EBAAE484798530

Signature

void SET_BOAT_REMAINS_ANCHORED_WHILE_PLAYER_IS_DRIVER(Vehicle vehicle, BOOL p1, BOOL p2);

Parameters

NameTypeDescription
vehicleVehicle—
p1BOOL—
p2BOOL—

Returns void

Description

Old name: _SET_BOAT_FROZEN_WHEN_ANCHORED

Usage

Lua
SetBoatRemainsAnchoredWhilePlayerIsDriver(vehicle, p1, p2)

-- always works, by hash
Citizen.InvokeNative(0x286771F3059A37A7, vehicle, p1, p2)
JavaScript and C#
JavaScript
SetBoatRemainsAnchoredWhilePlayerIsDriver(vehicle, p1, p2);

// by hash
Citizen.invokeNative('0x286771F3059A37A7', vehicle, p1, p2);
C#
Function.Call((Hash)0x286771F3059A37A7, vehicle, p1, p2);

Sources

alloc8or RDR3 NativeDB

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