setObjectSpeedBoostAmount
SET_OBJECT_SPEED_BOOST_AMOUNT0x96EE0EBA0163DF80The 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.
setObjectSpeedBoostAmount(object: Object, p1: any): voidsetObjectSpeedBoostAmount(object: Object, p1: any)Usage
JavaScript
setObjectSpeedBoostAmount(object, p1);Lua
setObjectSpeedBoostAmount(object, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
object | Object | number | integer |
p1 | Any | any | any |
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