canAnchorBoatHere
CAN_ANCHOR_BOAT_HERE0x26C10ECBDA5D043BThe GTA V native CAN_ANCHOR_BOAT_HERE of the VEHICLE namespace, as LS:MP client scripts call it: the global function canAnchorBoatHere, in JavaScript and in Lua.
canAnchorBoatHere(vehicle: Vehicle): booleancanAnchorBoatHere(vehicle: Vehicle): booleanUsage
JavaScript
const result = canAnchorBoatHere(vehicle);Lua
local result = canAnchorBoatHere(vehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL CAN_ANCHOR_BOAT_HERE(Vehicle vehicle)- Hash
0x26C10ECBDA5D043B- Formerly
_GET_BOAT_ANCHOR_CAN_BOAT_BE_ANCHORED