_GET_ENTITY_THREAT_TIER
Hash
0xE12F56CB25D9CE23Runtime name
GetEntityThreatTierNamespaceENTITY
SideClient
NameCommunity guess
Docs
Since build1207
Signature
int _GET_ENTITY_THREAT_TIER(Entity entity);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
Returns int
Usage
local retval = GetEntityThreatTier(entity)
-- always works, by hash
local retval = Citizen.InvokeNative(0xE12F56CB25D9CE23, entity, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetEntityThreatTier(entity);
// by hash
const retval = Citizen.invokeNative('0xE12F56CB25D9CE23', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xE12F56CB25D9CE23, entity);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Enums and flags
- eEntityThreatTier 4 values
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.