applyEmpEffect
APPLY_EMP_EFFECT0x249249D74F813EB2The 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.
applyEmpEffect(vehicle: Vehicle): voidapplyEmpEffect(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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
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