WestSide1337

User

Joined on Feb 11 2021

SetPlayerHUDComponentsColour not work
Verified
Snapshot 4.1.6
not correct info on site documentation and not working in the game
i try
SetPlayerHUDComponentsColour(playerid, HUD_COMPONENT_AMMO|HUD_COMPONENT_WEAPONICON|HUD_COMPONENT_HEALTH|HUD_COMPONENT_OXYGEN|HUD_COMPONENT_ARMOUR|HUD_COMPONENT_RADAR|HUD_COMPONENT_CROSSHAIR|HUD_COMPONENT_MONEY|HUD_COMPONENT_LASERDOT, 16711680);//16711680 its rgb: 255/0/0

dkluin

Project Leader

Joined on May 11 2016

Posted a quarter of a year ago

SetPlayerHUDComponentsColour does not accept a bitfield. It uses a single hud component slot.

WestSide1337

User

Joined on Feb 11 2021

Posted a quarter of a year ago

in ugmp.inc
native SetPlayerHUDComponentsColour(playerid, hudComponents, intColour);

where i can see ID list hudComponents?

dkluin

Project Leader

Joined on May 11 2016

Posted a quarter of a year ago

Confirmed.