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

Vehicle::setGravity

Материал из RAGE MP Wiki Archive
Версия от 14:27, 17 мая 2020; imported>NoBrain
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

if you set this to false the vehicle will no longer move and will not have any gravity (vehicles with parachute will no longer go up when the parachute is open)

Syntax

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

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

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

See also