Vehicle::setVehicleModelIsSuppressed

From RAGE Multiplayer Wiki
Revision as of 21:34, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

mp.game.vehicle.setVehicleModelIsSuppressed(model, suppressed);

Required Arguments

  • model: Model hash or name
  • suppressed: Boolean

Return value

  • Undefined

Example

// todo

See also