SetVehicleSpecialLightStatus: Difference between revisions
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
{{CSharpContainer| | {{CSharpContainer| | ||
{{#tag:pre|void {{Template:CSharp_Serverside_namespace}} | {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehicleSpecialLightStatus(Vehicle vehicle, bool state);}} | ||
{{Parameters}} | {{Parameters}} | ||
*'''vehicle:''' parameter input should be in '''Vehicle''' type | *'''vehicle:''' parameter input should be in '''Vehicle''' type | ||
Latest revision as of 07:33, 28 November 2019
This function sets on the vehicle special lights. For example taxi lights. True = ON, False = OFF.
C# Syntax
void NAPI.Vehicle.SetVehicleSpecialLightStatus(Vehicle vehicle, bool state);
Parameters
- vehicle: parameter input should be in Vehicle type
- state: parameter input should be in bool type
Example
NAPI.Vehicle.SetVehicleSpecialLightStatus(vehicle, true);