Skip to main content

Vehicle::setVehicleModelIsSuppressed

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

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

Required Arguments

  • model: Model hash or name
  • suppressed: Boolean

Return value

  • Undefined

Example

```js // todo ```

See also