RedM Natives

REMOVE_DECALS_IN_RANGE

Removes all decals in range from a position, it includes the bullet holes, blood pools, petrol...

Hash0x86DE59FA02902B40
Runtime nameRemoveDecalsInRange
NamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x5D6B2D4830A67C62

Signature

void REMOVE_DECALS_IN_RANGE(float x, float y, float z, float range);

Parameters

NameTypeDescription
xfloat—
yfloat—
zfloat—
rangefloat—

Returns void

Description

Removes all decals in range from a position, it includes the bullet holes, blood pools, petrol...

Usage

Lua
RemoveDecalsInRange(x, y, z, range)

-- always works, by hash
Citizen.InvokeNative(0x86DE59FA02902B40, x, y, z, range)
JavaScript and C#
JavaScript
RemoveDecalsInRange(x, y, z, range);

// by hash
Citizen.invokeNative('0x86DE59FA02902B40', x + 0.0000001, y + 0.0000001, z + 0.0000001, range + 0.0000001);
C#
Function.Call((Hash)0x86DE59FA02902B40, x, y, z, range);
  • Float parameters: Lua integers (10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to non-zero floats for the same reason.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.