PedClient

setPedDensityMultiplierThisFrame

SET_PED_DENSITY_MULTIPLIER_THIS_FRAME0x95E3D6257B166CF2

The GTA V native SET_PED_DENSITY_MULTIPLIER_THIS_FRAME of the PED namespace, as LS:MP client scripts call it: the global function setPedDensityMultiplierThisFrame, in JavaScript and in Lua.

SignatureJavaScript
setPedDensityMultiplierThisFrame(multiplier: number): void
SignatureLua
setPedDensityMultiplierThisFrame(multiplier: number)

Usage

JavaScript
setPedDensityMultiplierThisFrame(multiplier);
Lua
setPedDensityMultiplierThisFrame(multiplier)

Parameters

ParameterTypeJavaScriptLua
multiplierfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void SET_PED_DENSITY_MULTIPLIER_THIS_FRAME(float multiplier)
Hash
0x95E3D6257B166CF2

Open in the interactive natives reference