natives.areTaxiLightsOn

From GTA Connected
Revision as of 19:34, 12 November 2025 by Vortrex (talk | contribs)
Jump to navigation Jump to search

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0

bool natives.areTaxiLightsOn(Vehicle vehicle)

The natives.areTaxiLightsOn function is used to turn the taxi light on/off for a vehicle.

Parameters

1) Vehicle vehicle The vehicle.

Return

bool Documentation Missing: Description for return value

Notes

Examples

Example 1 - JavaScript:

addCommandHandler("taxilight", function(command, params, client) {

   natives.setTaxiLights(localPlayer.vehicle, !natives.areTaxiLightsOn(localPlayer.vehicle));

});

Compatibility

There isn't any compatibility information for this function.