setPedEmissiveScale
SET_PED_EMISSIVE_SCALE0x4E90D746056E273DThe GTA V native SET_PED_EMISSIVE_SCALE of the PED namespace, as LS:MP client scripts call it: the global function setPedEmissiveScale, in JavaScript and in Lua.
setPedEmissiveScale(ped: Ped, intensity: number): voidsetPedEmissiveScale(ped: Ped, intensity: number)Usage
JavaScript
setPedEmissiveScale(ped, intensity);Lua
setPedEmissiveScale(ped, intensity)Parameters
| Parameter | Type | JavaScript | Lua | Description |
|---|---|---|---|---|
ped | Ped | number | integer | |
intensity | float | number | number | 0.0f - 1.0f |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
This native sets the emissive intensity for the given ped. It is used for different 'glow' levels on illuminated clothing.
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_EMISSIVE_SCALE(Ped ped, float intensity)- Hash
0x4E90D746056E273D- Introduced
- Game build 944 legacy numbering
- Formerly
_SET_PED_REFLECTION_INTENSITY_SET_PED_ILLUMINATED_CLOTHING_GLOW_INTENSITY_SET_PED_EMISSIVE_INTENSITY