GetVehicleHeadLightColor: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{Server client function}} This function will get the headlight color of a vehicle. ==Syntax== <section name="Server and Client" class="both" show="true"> <syntaxhighlight lang="lua"> int, in...)
 
m (Needs example)
Line 25: Line 25:
==See Also==
==See Also==
{{Vehicle_functions}}
{{Vehicle_functions}}
[[Category:Needs Example]]

Revision as of 08:04, 19 June 2009

This function will get the headlight color of a vehicle.

Syntax

Click to collapse [-]
Server and Client
int, int, int getVehicleHeadLightColor ( vehicle theVehicle )            

Required Arguments

  • theVehicle: The vehicle that you wish to set the headlight color of.

Returns

Returns three integers for the red, green and blue of the headlight color for the specified vehicle, false if an invalid vehicle was specified.

Example

Click to collapse [-]
Example
--TODO

See Also