SetVehicleDirtLevel

From Multi Theft Auto: Wiki
Jump to: navigation, search

Dialog-warning.png Function has been disabled.

Reason/Note: This function doesn't work actually. See the bugtracker for updates and more information.

This function sets the dirt level on a vehicle.

Syntax

bool setVehicleDirtLevel ( vehicle theVehicle, int dirtLevel )

Required Arguments

  • theVehicle: The vehicle that you want to set the dirt level from
  • dirtLevel: The dirt level

Returns

Returns true if the dirt level was set on the vehicle, false if the dirt level was not set or if invalid arguments are specified.

Example

--TODO

Issues

Issue ID Description
#3164 Not fixable and closed

See Also

FROM VERSION 1.6 r7485 ONWARDS
FROM VERSION 1.6 r7485 ONWARDS