MiscClient

getCityDensity

GET_CITY_DENSITY0xD10282B6E3751BA0

The GTA V native GET_CITY_DENSITY of the MISC namespace, as LS:MP client scripts call it: the global function getCityDensity, in JavaScript and in Lua.

SignatureJavaScript
getCityDensity(): number
SignatureLua
getCityDensity(): number

Usage

JavaScript
const value = getCityDensity();
Lua
local value = getCityDensity()

Parameters

None.

Returns

float JavaScript number, Lua number

Reference

Namespace
Misc MISC
In the game
float GET_CITY_DENSITY()
Hash
0xD10282B6E3751BA0

Open in the interactive natives reference