getPedEmissiveScale
GET_PED_EMISSIVE_SCALE0x1461B28A06717D68The GTA V native GET_PED_EMISSIVE_SCALE of the PED namespace, as LS:MP client scripts call it: the global function getPedEmissiveScale, in JavaScript and in Lua.
getPedEmissiveScale(ped: Ped): numbergetPedEmissiveScale(ped: Ped): numberUsage
JavaScript
const value = getPedEmissiveScale(ped);Lua
local value = getPedEmissiveScale(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
float JavaScript number, Lua numberNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Use setPedEmissiveScale to set the illuminated clothing glow intensity for a specific ped.
Returns a float between 0.0 and 1.0 representing the current illuminated clothing glow intensity.
Reference
- Namespace
- Ped PED
- In the game
float GET_PED_EMISSIVE_SCALE(Ped ped)- Hash
0x1461B28A06717D68- Introduced
- Game build 944 legacy numbering
- Formerly
_GET_PED_REFLECTION_INTENSITY_GET_PED_ILLUMINATED_CLOTHING_GLOW_INTENSITY_GET_PED_EMISSIVE_INTENSITY