RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _GET_PED_DIRT_LEVEL

_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 float

Parameters

NameTypeDescription
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

On this page

  • Signature
  • Parameters
  • Usage
  • Details