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

Feature/health armour #1164

Closed

Conversation

Cocodrulo
Copy link
Contributor

@Cocodrulo Cocodrulo commented Jan 12, 2025

Description

Adds Health and Armour saving and restoring on spawn. Should me merged with qb-ambulance #343

Checklist

  • I have personally loaded this code into an updated qbcore project and checked all of its functionality.
  • My code fits the style guidelines.
  • My PR fits the contribution guidelines.

@Cocodrulo
Copy link
Contributor Author

Set default health to 200

@DarkPeluxin
Copy link

It worked with armor but did not work with healt.

@Cocodrulo
Copy link
Contributor Author

I've done some investigation and setting health in GTAV is not as easy as setting armour, if you set health to less then a 100, the entity will die, so I think I'll stick with only saving armour

@Cocodrulo Cocodrulo closed this Feb 15, 2025
@Cocodrulo Cocodrulo deleted the feature/health-armour branch February 15, 2025 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants