What's new

Code Health & Armour Display Source Code

D

DxW

Newbie
Messages
18
Reaction score
7
HEALTH & ARMOUR
For who wants the health & armour Draw Below the Host & Frame ... etc

void HealthDis(void){
uint Health = 0;
GET_CHAR_HEALTH(GetPlayerPed(),&Health);
Set_Up_Display(DxW_Frames_Txt_Size, 255, 0, 0,255,0,0,0);
DISPLAY_TEXT_WITH_LITERAL_STRING(0.05, 0.6950, "STRING", "Health :");
Set_Up_Display(DxW_Frames_Txt_Size, 255, 253, 0,255,0,0,0);
DISPLAY_TEXT_WITH_NUMBER(0.10, 0.6950, "NUMBR", Health);
Set_Up_Display(DxW_Frames_Txt_Size, 255, 255, 255,255,0,0,0);
}

void ArmourDis(void){
uint Armor = 0;
GET_CHAR_ARMOUR(GetPlayerPed(),&Armor);
Set_Up_Display(DxW_Frames_Txt_Size, 255, 0, 0,255,0,0,0);
DISPLAY_TEXT_WITH_LITERAL_STRING(0.05, 0.7200, "STRING", "Armour:");
Set_Up_Display(DxW_Frames_Txt_Size, 255, 255, 255,255,0,0,0);
DISPLAY_TEXT_WITH_NUMBER(0.10, 0.7200, "NUMBR", Armor);
}

Credits :
DARKxiXixWAVE

Enjoy :smile:
 
Top Bottom