ObjectClient

setObjectSpeedBoostAmount

SET_OBJECT_SPEED_BOOST_AMOUNT0x96EE0EBA0163DF80

The GTA V native SET_OBJECT_SPEED_BOOST_AMOUNT of the OBJECT namespace, as LS:MP client scripts call it: the global function setObjectSpeedBoostAmount, in JavaScript and in Lua.

SignatureJavaScript
setObjectSpeedBoostAmount(object: Object, p1: any): void
SignatureLua
setObjectSpeedBoostAmount(object: Object, p1: any)

Usage

JavaScript
setObjectSpeedBoostAmount(object, p1);
Lua
setObjectSpeedBoostAmount(object, p1)

Parameters

ParameterTypeJavaScriptLua
objectObjectnumberinteger
p1Anyanyany

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Object OBJECT
In the game
void SET_OBJECT_SPEED_BOOST_AMOUNT(Object object, Any p1)
Hash
0x96EE0EBA0163DF80
Introduced
Game build 791 legacy numbering
Formerly
_SET_OBJECT_STUNT_PROP_SPEEDUP

Open in the interactive natives reference