setUseDoubleClickForCarJump
SET_USE_DOUBLE_CLICK_FOR_CAR_JUMP0x5BBCF35BF6E456F7The GTA V native SET_USE_DOUBLE_CLICK_FOR_CAR_JUMP of the VEHICLE namespace, as LS:MP client scripts call it: the global function setUseDoubleClickForCarJump, in JavaScript and in Lua.
setUseDoubleClickForCarJump(toggle: boolean): voidsetUseDoubleClickForCarJump(toggle: boolean)Usage
JavaScript
setUseDoubleClickForCarJump(toggle);Lua
setUseDoubleClickForCarJump(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
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.
Changes the car jump control to require a double-tap to activate.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_USE_DOUBLE_CLICK_FOR_CAR_JUMP(BOOL toggle)- Hash
0x5BBCF35BF6E456F7- Introduced
- Game build 1604 legacy numbering