News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Questions about health bars  (Read 2968 times)

0 Members and 1 Guest are viewing this topic.

Offline UltimateGamer9

  • Full Member
  • ***
  • Posts: 190
  • Gender: Male
    • View Profile
Questions about health bars
« on: August 23, 2015, 03:43:35 AM »
Does anyone know the boxing health bar? I don't mean the boss fight health bars. I mean the health bar when you go boxing. The one like Bif Taylor VS Jimmy(the health bar appears). Does anyone know how to do that?

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Questions about health bars
« Reply #1 on: August 23, 2015, 04:19:23 AM »
i have this:


u have to do this:
HUDSetFightStyle()
PedShowHealthBar(ped, true, PedGetName(ped), true)


N_PedNames can be found in "\Objects\default.ide" as the last perimeter of the ped's information.

EDIT: only problem is idk how to add the trouble meter back. im gonna have to mess around with the hud components to try to make it visible.

EDIT2: ok so i looked around, and there MAY not be a way to make the trouble meter visible again. because from what i remember, you do not see the minimap at ALL during the boxing matches/fights.


see, there's no minimap.
« Last Edit: August 23, 2015, 04:28:40 AM by Unknownsoldier »

Offline UltimateGamer9

  • Full Member
  • ***
  • Posts: 190
  • Gender: Male
    • View Profile
Re: Questions about health bars
« Reply #2 on: August 23, 2015, 04:41:41 AM »
i have this:


u have to do this:
HUDSetFightStyle()
PedShowHealthBar(ped, true, PedGetName(ped), true)


N_PedNames can be found in "\Objects\default.ide" as the last perimeter of the ped's information.

EDIT: only problem is idk how to add the trouble meter back. im gonna have to mess around with the hud components to try to make it visible.

EDIT2: ok so i looked around, and there MAY not be a way to make the trouble meter visible again. because from what i remember, you do not see the minimap at ALL during the boxing matches/fights.


see, there's no minimap.
Thank you. It works. I used PedGetName before you even told me to use PedGetName

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Questions about health bars
« Reply #3 on: August 23, 2015, 02:18:38 PM »
nice lol. daboss told me i should have used it, so i edited.

but the healthbar thing, i found that from trial and error.

Offline UltimateGamer9

  • Full Member
  • ***
  • Posts: 190
  • Gender: Male
    • View Profile
Re: Questions about health bars
« Reply #4 on: August 23, 2015, 11:26:54 PM »
nice lol. daboss told me i should have used it, so i edited.

but the healthbar thing, i found that from trial and error.
What do you mean about trouble meter visible? I just tested it in freeroam multiplayer mod. I need ideas of features so I can make it perfect. Check my multiplayer topic in Bully Modding.
« Last Edit: August 23, 2015, 11:28:42 PM by UltimateGamer8 »

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Questions about health bars
« Reply #5 on: August 23, 2015, 11:37:42 PM »
not trouble meter. I mean jimmy's health bar. Not important, since it's on top now. So good luck.