canAnchorBoatHereIgnorePlayers
CAN_ANCHOR_BOAT_HERE_IGNORE_PLAYERS0x24F4121D07579880The GTA V native CAN_ANCHOR_BOAT_HERE_IGNORE_PLAYERS of the VEHICLE namespace, as LS:MP client scripts call it: the global function canAnchorBoatHereIgnorePlayers, in JavaScript and in Lua.
canAnchorBoatHereIgnorePlayers(vehicle: Vehicle): booleancanAnchorBoatHereIgnorePlayers(vehicle: Vehicle): booleanUsage
JavaScript
const result = canAnchorBoatHereIgnorePlayers(vehicle);Lua
local result = canAnchorBoatHereIgnorePlayers(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_IGNORE_PLAYERS(Vehicle vehicle)- Hash
0x24F4121D07579880- Introduced
- Game build 678 legacy numbering
- Formerly
_CAN_BOAT_BE_ANCHORED_2_CAN_ANCHOR_BOAT_HERE_2