_SET_LIGHTS_TYPE_FOR_ENTITY
type must be less than or equal to 20
Hash
0xAB72C67163DC4DB4Runtime name
SetLightsTypeForEntityNamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_LIGHTS_TYPE_FOR_ENTITY(Entity entity, int type);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
type | int | — |
Returns void
Description
type must be less than or equal to 20
Usage
SetLightsTypeForEntity(entity, type)
-- always works, by hash
Citizen.InvokeNative(0xAB72C67163DC4DB4, entity, type)JavaScript and C#
SetLightsTypeForEntity(entity, type);
// by hash
Citizen.invokeNative('0xAB72C67163DC4DB4', entity, type);Function.Call((Hash)0xAB72C67163DC4DB4, entity, type);- 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.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.