PhysicsClient

activatePhysics

ACTIVATE_PHYSICS0x710311ADF0E20730

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

SignatureJavaScript
activatePhysics(entity: Entity): void
SignatureLua
activatePhysics(entity: Entity)

Usage

JavaScript
activatePhysics(entity);
Lua
activatePhysics(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Physics PHYSICS
In the game
void ACTIVATE_PHYSICS(Entity entity)
Hash
0x710311ADF0E20730

Open in the interactive natives reference