PhysicsClient

setInArenaMode

SET_IN_ARENA_MODE0xAA6A6098851C396F

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

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

Usage

JavaScript
setInArenaMode(toggle);
Lua
setInArenaMode(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.

Related to the lower-end of a vehicles fTractionCurve, e.g., from standing starts and acceleration from low/zero speeds.

Reference

Namespace
Physics PHYSICS
In the game
void SET_IN_ARENA_MODE(BOOL toggle)
Hash
0xAA6A6098851C396F
Introduced
Game build 1604 legacy numbering
Formerly
_SET_LAUNCH_CONTROL_ENABLED

Open in the interactive natives reference