PedClient

clearPedEnvDirt

CLEAR_PED_ENV_DIRT0x6585D955A68452A5

The GTA V native CLEAR_PED_ENV_DIRT of the PED namespace, as LS:MP client scripts call it: the global function clearPedEnvDirt, in JavaScript and in Lua.

SignatureJavaScript
clearPedEnvDirt(ped: Ped): void
SignatureLua
clearPedEnvDirt(ped: Ped)

Usage

JavaScript
clearPedEnvDirt(ped);
Lua
clearPedEnvDirt(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void CLEAR_PED_ENV_DIRT(Ped ped)
Hash
0x6585D955A68452A5

Open in the interactive natives reference