Entity::setTrafficlightOverride: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
Line 11: Line 11:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Entity_function_c}}
{{Entity_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 17:59, 1 May 2024

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