removeDecalsInRange
REMOVE_DECALS_IN_RANGE0x5D6B2D4830A67C62The GTA V native REMOVE_DECALS_IN_RANGE of the GRAPHICS namespace, as LS:MP client scripts call it: the global function removeDecalsInRange, in JavaScript and in Lua.
removeDecalsInRange(x: number, y: number, z: number, range: number): voidremoveDecalsInRange(x: number, y: number, z: number, range: number)Usage
JavaScript
removeDecalsInRange(x, y, z, range);Lua
removeDecalsInRange(x, y, z, range)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
removeDecalsInRange(pos, range);Lua · with vectors
removeDecalsInRange(pos, range)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
x | float | number | number |
y | float | number | number |
z | float | number | number |
range | 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.
Removes all decals in range from a position, it includes the bullet holes, blood pools, petrol...
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void REMOVE_DECALS_IN_RANGE(float x, float y, float z, float range)- Hash
0x5D6B2D4830A67C62