setPilotLight is an SQF scripting command which can be used to turn a vehicle's headlights on or off. Note that if the vehicle is operated by an AI, the AI will decide whether or not to turn the lights back on, and this will happen almost instantaneously. As such, turning off headlights in a vehicle's init script will appear to do absolutely nothing unless the AI is also killed, disabled, or removed from the vehicle.

See also Edit

External links Edit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.