GraphicsClient

washDecalsInRange

WASH_DECALS_IN_RANGE0x9C30613D50A6ADEF

The GTA V native WASH_DECALS_IN_RANGE of the GRAPHICS namespace, as LS:MP client scripts call it: the global function washDecalsInRange, in JavaScript and in Lua.

SignatureJavaScript
washDecalsInRange(
  x: number,
  y: number,
  z: number,
  range: number,
  p4: number
): void
SignatureLua
washDecalsInRange(
  x: number,
  y: number,
  z: number,
  range: number,
  p4: number
)

Usage

JavaScript
washDecalsInRange(x, y, z, range, p4);
Lua
washDecalsInRange(x, y, z, range, 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
washDecalsInRange(pos, range, p4);
Lua · with vectors
washDecalsInRange(pos, range, p4)

Parameters

ParameterTypeJavaScriptLua
xfloatnumbernumber
yfloatnumbernumber
zfloatnumbernumber
rangefloatnumbernumber
p4floatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Graphics GRAPHICS
In the game
void WASH_DECALS_IN_RANGE(float x, float y, float z, float range, float p4)
Hash
0x9C30613D50A6ADEF

Open in the interactive natives reference