setPlayerpadShakesWhenControllerDisabled
SET_PLAYERPAD_SHAKES_WHEN_CONTROLLER_DISABLED0x798FDEB5B1575088The GTA V native SET_PLAYERPAD_SHAKES_WHEN_CONTROLLER_DISABLED of the PAD namespace, as LS:MP client scripts call it: the global function setPlayerpadShakesWhenControllerDisabled, in JavaScript and in Lua.
setPlayerpadShakesWhenControllerDisabled(toggle: boolean): voidsetPlayerpadShakesWhenControllerDisabled(toggle: boolean)Usage
JavaScript
setPlayerpadShakesWhenControllerDisabled(toggle);Lua
setPlayerpadShakesWhenControllerDisabled(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Controls PAD
- In the game
void SET_PLAYERPAD_SHAKES_WHEN_CONTROLLER_DISABLED(BOOL toggle)- Hash
0x798FDEB5B1575088