VehicleClient

setUseDoubleClickForCarJump

SET_USE_DOUBLE_CLICK_FOR_CAR_JUMP0x5BBCF35BF6E456F7

The 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.

SignatureJavaScript
setUseDoubleClickForCarJump(toggle: boolean): void
SignatureLua
setUseDoubleClickForCarJump(toggle: boolean)

Usage

JavaScript
setUseDoubleClickForCarJump(toggle);
Lua
setUseDoubleClickForCarJump(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

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

Open in the interactive natives reference