setBoatAnchor
SET_BOAT_ANCHOR0x75DBEC174AEEAD10The GTA V native SET_BOAT_ANCHOR of the VEHICLE namespace, as LS:MP client scripts call it: the global function setBoatAnchor, in JavaScript and in Lua.
setBoatAnchor(vehicle: Vehicle, toggle: boolean): voidsetBoatAnchor(vehicle: Vehicle, toggle: boolean)Usage
JavaScript
setBoatAnchor(vehicle, toggle);Lua
setBoatAnchor(vehicle, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_BOAT_ANCHOR(Vehicle vehicle, BOOL toggle)- Hash
0x75DBEC174AEEAD10