PedClient

getPedEmissiveScale

GET_PED_EMISSIVE_SCALE0x1461B28A06717D68

The 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.

SignatureJavaScript
getPedEmissiveScale(ped: Ped): number
SignatureLua
getPedEmissiveScale(ped: Ped): number

Usage

JavaScript
const value = getPedEmissiveScale(ped);
Lua
local value = getPedEmissiveScale(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

float JavaScript number, Lua number

Notes

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

Open in the interactive natives reference