VehicleClientNot in this build

applyEmpEffect

APPLY_EMP_EFFECT0x249249D74F813EB2

The GTA V native APPLY_EMP_EFFECT of the VEHICLE namespace, as LS:MP client scripts call it: the global function applyEmpEffect, in JavaScript and in Lua.

SignatureJavaScript
applyEmpEffect(vehicle: Vehicle): void
SignatureLua
applyEmpEffect(vehicle: Vehicle)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
applyEmpEffect(vehicle);
Lua
applyEmpEffect(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void APPLY_EMP_EFFECT(Vehicle vehicle)
Hash
0x249249D74F813EB2
Introduced
Game build 3095 legacy numbering

Open in the interactive natives reference