Entity::setTrafficlightOverride

From RAGE Multiplayer Wiki
Revision as of 23:42, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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