VehicleClient

setSpeedBoostEffectDisabled

SET_SPEED_BOOST_EFFECT_DISABLED0x7BBE7FF626A591FE

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

SignatureJavaScript
setSpeedBoostEffectDisabled(disabled: boolean): void
SignatureLua
setSpeedBoostEffectDisabled(disabled: boolean)

Usage

JavaScript
setSpeedBoostEffectDisabled(disabled);
Lua
setSpeedBoostEffectDisabled(disabled)

Parameters

ParameterTypeJavaScriptLua
disabledBOOLbooleanboolean

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.

Disables the screen effects and sound effects when driving over a speed boost pad.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_SPEED_BOOST_EFFECT_DISABLED(BOOL disabled)
Hash
0x7BBE7FF626A591FE
Introduced
Game build 877 legacy numbering

Open in the interactive natives reference