setAmbientPedRangeMultiplierThisFrame

SET_AMBIENT_PED_RANGE_MULTIPLIER_THIS_FRAME0x0B919E1FB47CC4E0

The GTA V native SET_AMBIENT_PED_RANGE_MULTIPLIER_THIS_FRAME of the PATHFIND namespace, as LS:MP client scripts call it: the global function setAmbientPedRangeMultiplierThisFrame, in JavaScript and in Lua.

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

Usage

JavaScript
setAmbientPedRangeMultiplierThisFrame(multiplier);
Lua
setAmbientPedRangeMultiplierThisFrame(multiplier)

Parameters

ParameterTypeJavaScriptLua
multiplierfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Pathfinding PATHFIND
In the game
void SET_AMBIENT_PED_RANGE_MULTIPLIER_THIS_FRAME(float multiplier)
Hash
0x0B919E1FB47CC4E0

Open in the interactive natives reference