This native sets the glow intensity of illuminated clothing items.
This native does NOT need to be executed every tick.
This native is NOT synced with other connected players, you will have to set the opacity on the ped on all clients individually.
Glow intensity is a value between 0.0
and 1.0
.
In some older decompiled scripts this is known as _SET_PED_REFLECTION_INTENSITY
.
Since there's no joaat hash for this, I find _SET_PED_ILLUMINATED_CLOTHING_GLOW_INTENSITY
more descriptive than _SET_PED_REFLECTION_INTENSITY
.
Use GetPedIlluminatedClothingGlowIntensity
to get the illuminated clothing glow intensity of a specific ped.
Intensity: 1.0
:
Intensity: 0.0
:
Examples code result:
(Direct link if embed doesn't work: here)