GET_ENTITY_POPULATION_TYPE
Hash
0xADE28862B6D7B85BRuntime name
GetEntityPopulationTypeNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xF6F5161F4534EDFFSignature
int GET_ENTITY_POPULATION_TYPE(Entity entity);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
Returns int
Usage
local retval = GetEntityPopulationType(entity)
-- always works, by hash
local retval = Citizen.InvokeNative(0xADE28862B6D7B85B, entity, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetEntityPopulationType(entity);
// by hash
const retval = Citizen.invokeNative('0xADE28862B6D7B85B', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xADE28862B6D7B85B, entity);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.