ControlsClient

clearControlLightEffect

CLEAR_CONTROL_LIGHT_EFFECT0xCB0360EFEFB2580D

The GTA V native CLEAR_CONTROL_LIGHT_EFFECT of the PAD namespace, as LS:MP client scripts call it: the global function clearControlLightEffect, in JavaScript and in Lua.

SignatureJavaScript
clearControlLightEffect(control: number): void
SignatureLua
clearControlLightEffect(control: integer)

Usage

JavaScript
clearControlLightEffect(control);
Lua
clearControlLightEffect(control)

Parameters

ParameterTypeJavaScriptLuaDescription
controlintnumberintegersee isControlEnabled

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Controls PAD
In the game
void CLEAR_CONTROL_LIGHT_EFFECT(int control)
Hash
0xCB0360EFEFB2580D

Open in the interactive natives reference