VehicleClient

swingBoatBoomFreely

SWING_BOAT_BOOM_FREELY0xC1F981A6F74F0C23

The 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.

SignatureJavaScript
swingBoatBoomFreely(vehicle: Vehicle, toggle: boolean): void
SignatureLua
swingBoatBoomFreely(vehicle: Vehicle, toggle: boolean)

Usage

JavaScript
swingBoatBoomFreely(vehicle, toggle);
Lua
swingBoatBoomFreely(vehicle, toggle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
toggleBOOLbooleanboolean

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.

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

Open in the interactive natives reference