Difference between revisions of "SET VEHICLE DIRT LEVEL"
Jump to navigation
Jump to search
(New page: {{Native |np=2 |p1t=Handle |p1d=Vehicle handle |p2t=Float |p2d=Dirt level (0.0 is the minimum) }} This function change the dirt level of the specified vehicle. To clean a car visibly call...) |
|||
Line 1: | Line 1: | ||
{{Native | {{Native | ||
|np=2 | |np=2 | ||
− | |p1t= | + | |p1t=pointer |
|p1d=Vehicle handle | |p1d=Vehicle handle | ||
− | |p2t= | + | |p2t=float |
− | |p2d=Dirt level (0.0 is the minimum) | + | |p2d=Dirt level (0.0 is the minimum, 15.9 is the maximum) |
}} | }} | ||
− | This function | + | 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. |
Latest revision as of 05:10, 3 September 2009
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.