SetVehicleDirtLevel: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{server client function}} This function sets the dirt level on a vehicle. ==Syntax== <syntaxhighlight lang="lua"> bool setVehicleDirtLevel ( vehicle theVehicle, int dirtLevel ) </syntaxhighlight> ===Re...)
 
(Added to category 'Needs_Example')
Line 22: Line 22:
==See Also==
==See Also==
{{Vehicle functions}}
{{Vehicle functions}}
[[Category:Needs_Example]]

Revision as of 11:47, 11 April 2009

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

See Also