PhysicsClient

setInStuntMode

SET_IN_STUNT_MODE0x9EBD751E5787BAF2

The GTA V native SET_IN_STUNT_MODE of the PHYSICS namespace, as LS:MP client scripts call it: the global function setInStuntMode, in JavaScript and in Lua.

SignatureJavaScript
setInStuntMode(p0: boolean): void
SignatureLua
setInStuntMode(p0: boolean)

Usage

JavaScript
setInStuntMode(p0);
Lua
setInStuntMode(p0)

Parameters

ParameterTypeJavaScriptLua
p0BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Physics PHYSICS
In the game
void SET_IN_STUNT_MODE(BOOL p0)
Hash
0x9EBD751E5787BAF2
Introduced
Game build 791 legacy numbering

Open in the interactive natives reference