Native referenceFiveM

SET_ENTITY_TRAFFICLIGHT_OVERRIDE

0x57C5DB656185EAC4 ENTITY
FUNCTION SIGNATURE
void SET_ENTITY_TRAFFICLIGHT_OVERRIDE(Entity entity, int state);
Property Value
Native Name SET_ENTITY_TRAFFICLIGHT_OVERRIDE
Hash 0x57C5DB656185EAC4
Return Type void
Parameters entity (Entity), state (int)

Description: Changing traffic-lights will not change the behavior of NPCs.

Example: here

enum eTrafficlightOverrideMode
{
    TLO_RED = 0,
    TLO_AMBER = 1,
    TLO_GREEN = 2,
    TLO_NONE = 3
}
Back to ENTITY