PedClient

setScenarioPedDensityMultiplierThisFrame

SET_SCENARIO_PED_DENSITY_MULTIPLIER_THIS_FRAME0x7A556143A1C03898

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

SignatureJavaScript
setScenarioPedDensityMultiplierThisFrame(p0: number, p1: number): void
SignatureLua
setScenarioPedDensityMultiplierThisFrame(p0: number, p1: number)

Usage

JavaScript
setScenarioPedDensityMultiplierThisFrame(p0, p1);
Lua
setScenarioPedDensityMultiplierThisFrame(p0, p1)

Parameters

ParameterTypeJavaScriptLua
p0floatnumbernumber
p1floatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void SET_SCENARIO_PED_DENSITY_MULTIPLIER_THIS_FRAME(float p0, float p1)
Hash
0x7A556143A1C03898

Open in the interactive natives reference