_GET_PED_DIRT_LEVEL
Return the dirt level of the ped (0.0 - 1.0). p1 is always set to 1. The second parameter is treated as a boolean selector (0 or 1). Internally it indexes a 2-slot graphics/appearance bank (base + 0xB8 * index + 0xE4); Rockstar scripts pass 1.
PEDBuild 1207
Signature
lua
GetPedDirtLevel(PlayerPedId(), true)
-- returns floatParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| BOOL | — |
Usage
lua
GetPedDirtLevel(PlayerPedId(), true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
