VehicleClient

allowBoatBoomToAnimate

ALLOW_BOAT_BOOM_TO_ANIMATE0x0F3B4D4E43177236

The GTA V native ALLOW_BOAT_BOOM_TO_ANIMATE of the VEHICLE namespace, as LS:MP client scripts call it: the global function allowBoatBoomToAnimate, in JavaScript and in Lua.

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void ALLOW_BOAT_BOOM_TO_ANIMATE(Vehicle vehicle, BOOL toggle)
Hash
0x0F3B4D4E43177236
Formerly
_GET_BOAT_BOOM_POSITION_RATIO_3

Open in the interactive natives reference