Перейти к содержанию

Entity::setTrafficlightOverride

Материал из RAGE MP Wiki Archive

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

<syntaxhighlight lang="javascript">entity.setTrafficlightOverride(state);</syntaxhighlight>

Required Arguments

  • state: int

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also