GetVehicleHeadLightColor

From Multi Theft Auto: Wiki
Revision as of 21:19, 16 June 2009 by Cazomino05 (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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