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

Vehicle::setIsConsideredByPlayer

Материал из RAGE MP Wiki Archive
Версия от 23:47, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Setting this to false, makes the specified vehicle to where if you press Y your character doesn't even attempt the animation to enter the vehicle. Hence it's not considered aka ignored.

Syntax

<syntaxhighlight lang="javascript">vehicle.setIsConsideredByPlayer(toggle);</syntaxhighlight>

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

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

See also