Entity::setTrafficlightOverride

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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
changing lights may not change the behavior of vehicles

Syntax

entity.setTrafficlightOverride(state);

Required Arguments

  • state: int

Return value

  • Undefined

Example

// todo

See also