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

Vehicle::setVehicleModelIsSuppressed

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

seems to make the vehicle stop spawning naturally in traffic. Here's an essential example:

VEHICLE::SET_VEHICLE_MODEL_IS_SUPPRESSED(GAMEPLAY::GET_HASH_KEY('taco'), true);

god I hate taco vans

Confirmed to work? Needs to be looped? Can not get it to work.

Syntax

<syntaxhighlight lang="javascript">mp.game.vehicle.setVehicleModelIsSuppressed(model, suppressed);</syntaxhighlight>

Required Arguments

  • model: Model hash or name
  • suppressed: Boolean

Return value

  • Undefined

Example

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

See also