swingBoatBoomFreely
SWING_BOAT_BOOM_FREELY0xC1F981A6F74F0C23The GTA V native SWING_BOAT_BOOM_FREELY of the VEHICLE namespace, as LS:MP client scripts call it: the global function swingBoatBoomFreely, in JavaScript and in Lua.
swingBoatBoomFreely(vehicle: Vehicle, toggle: boolean): voidswingBoatBoomFreely(vehicle: Vehicle, toggle: boolean)Usage
JavaScript
swingBoatBoomFreely(vehicle, toggle);Lua
swingBoatBoomFreely(vehicle, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Same call as allowBoatBoomToAnimate
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SWING_BOAT_BOOM_FREELY(Vehicle vehicle, BOOL toggle)- Hash
0xC1F981A6F74F0C23- Formerly
_GET_BOAT_BOOM_POSITION_RATIO_2