SET VEHICLE DIRT LEVEL
Jump to navigation
Jump to search
Number of parameters: 2 | ||
---|---|---|
Parameter # | Type | Description |
1. | pointer | Vehicle handle |
2. | float | Dirt level (0.0 is the minimum, 15.9 is the maximum) |
Return value: | ||
Type | Description | |
None |
This function changes the dirt level of the specified vehicle. You can exceed the maximum and briefly see the change but the game will prevent the car from being dirtier than the maximum. To clean the vehicle, set the level to 0.0 or call WASH_VEHICLE_TEXTURES with 255 in 2nd parameter.