SetVehicleDirtLevel: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
(MTA uses GTA 1.0 --- Undo revision 29925 by Jaysds (talk))
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{server client function}}
{{server client function}}
{{Important Note|This function only works in GTA:SA 1.0 and not 1.01. See the bugtracker for updates and more information.}}
{{Important Note|This function doesn't work actually. See the bugtracker for updates and more information.}}
This function sets the dirt level on a vehicle.
This function sets the dirt level on a vehicle.


Line 18: Line 18:
==Example==
==Example==
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
--TODO
</syntaxhighlight>
</syntaxhighlight>



Revision as of 19:45, 7 April 2012

[[{{{image}}}|link=|]] Important 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

See Also