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