getEntityPopulationType
GET_ENTITY_POPULATION_TYPE0xF6F5161F4534EDFFThe GTA V native GET_ENTITY_POPULATION_TYPE of the ENTITY namespace, as LS:MP client scripts call it: the global function getEntityPopulationType, in JavaScript and in Lua.
getEntityPopulationType(entity: Entity): numbergetEntityPopulationType(entity: Entity): integerUsage
JavaScript
const result = getEntityPopulationType(entity);Lua
local result = getEntityPopulationType(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
Returns
int JavaScript number, Lua integerReference
- Namespace
- Entity ENTITY
- In the game
int GET_ENTITY_POPULATION_TYPE(Entity entity)- Hash
0xF6F5161F4534EDFF