Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] mp ped health in core #246

Closed
MrNewb opened this issue Nov 15, 2023 · 1 comment
Closed

[REQUEST] mp ped health in core #246

MrNewb opened this issue Nov 15, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@MrNewb
Copy link

MrNewb commented Nov 15, 2023

The problem

Female peds on spawn are set to lower max health then male peds, normally its a lol moment but people are becoming more and more aware. In my core I use a small snippet to correct it on spawn and run it through a loop. Just figured id bring it up as I didnt see it in the medical.

Ideal solution

if GetEntityMaxHealth(cache.ped) ~= 200 then
SetEntityMaxHealth(cache.ped, 200)
SetEntityHealth(cache.ped, 200)

Alternative solutions

could slap in small resources, id even stream in ped metas but I think its a fivem limitation

Additional context

No response

@MrNewb MrNewb added the enhancement New feature or request label Nov 15, 2023
@mafewtm mafewtm mentioned this issue Nov 15, 2023
3 tasks
@mafewtm
Copy link
Member

mafewtm commented Nov 15, 2023

Hopefully fixed in latest qbx_medical commit

@mafewtm mafewtm closed this as completed Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants