ENTITY

SET_ENTITY_TRAFFICLIGHT_OVERRIDE

0x57C5DB656185EAC4 Jenkins: 0xC47F5B91

Signature

// ENTITY
void SET_ENTITY_TRAFFICLIGHT_OVERRIDE(Entity entity, int state)

Parameters

Type Name
Entity entity
int state

Return type void

Build 323

Documentation

Example here: www.gtaforums.com/topic/830463-help-with-turning-lights-green-and-causing-peds-to-crash-into-each-other/#entry1068211340 0 = green 1 = red 2 = yellow 3 = reset changes changing lights may not change the behavior of vehicles

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.