fadeDecalsInRange
FADE_DECALS_IN_RANGE0xD77EDADB0420E6E0The GTA V native FADE_DECALS_IN_RANGE of the GRAPHICS namespace, as LS:MP client scripts call it: the global function fadeDecalsInRange, in JavaScript and in Lua.
fadeDecalsInRange(
x: number,
y: number,
z: number,
p3: number,
p4: number
): voidfadeDecalsInRange(x: number, y: number, z: number, p3: number, p4: number)Usage
JavaScript
fadeDecalsInRange(x, y, z, p3, p4);Lua
fadeDecalsInRange(x, y, z, p3, p4)Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.
JavaScript · with vectors
fadeDecalsInRange(pos, p3, p4);Lua · with vectors
fadeDecalsInRange(pos, p3, p4)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
x | float | number | number |
y | float | number | number |
z | float | number | number |
p3 | float | number | number |
p4 | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Fades nearby decals within the range specified
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void FADE_DECALS_IN_RANGE(float x, float y, float z, float p3, float p4)- Hash
0xD77EDADB0420E6E0