RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. SET_VEHICLE_DIRT_LEVEL

SET_VEHICLE_DIRT_LEVEL

Sets the dirt level of the passed vehicle. **This is the server-side RPC native equivalent of the client native [SET_VEHICLE_DIRT_LEVEL](?\_0x79D3B596FE44EE8B).**

CFX

Signature

lua
SetVehicleDirtLevel(GetVehiclePedIsIn(PlayerPedId(), false), 0.0)
-- returns void

Parameters

NameTypeDescription
VehicleThe vehicle to set.
floatA number between 0.0 and 15.0 representing the vehicles dirt level.

Usage

lua
SetVehicleDirtLevel(GetVehiclePedIsIn(PlayerPedId(), false), 0.0)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details