GetVehicleComponents: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client function}} {{New feature/item|4.0140|1.3.1|4748| This function gets a table of the components currently on a vehicle. }} ==Syntax== <syntaxhighlight lang="lua"> table g...")
 
m (→‎Required Arguments: Wrong description.)
Line 11: Line 11:


===Required Arguments===  
===Required Arguments===  
*'''theVehicle:''' The [[vehicle]] you wish to set component visibility of.
*'''theVehicle:''' The [[vehicle]] you wish to get the components of.


===Returns===  
===Returns===  

Revision as of 14:51, 5 April 2013

ADDED/UPDATED IN VERSION 1.3.1 r4748:

This function gets a table of the components currently on a vehicle.

Syntax

table getVehicleComponents ( vehicle theVehicle )

Required Arguments

  • theVehicle: The vehicle you wish to get the components of.

Returns

Returns a table containing the name of the component as the key and visibility flag of that component as the value

Example

TODO

--TODO

See Also