Jump to content

[HELP] What do i need to use to do that?


Recommended Posts

I might be mistaken, but all that looks like is GetElementHealth coupled with math.percent to get the percentage of health from the player's current total. If you want it for the local player like in that screenshot, you can just display the value it returns via a dxDraw function from the client-side.

 

EDIT: Just realized you might actually be talking about that damage points thing at the bottom left. It's a bit simplistic but you could probably calculate that by using a combination of OnPlayerDamage to see if the shot lands, then GetPedWeapon to adjust how many points to add depending on the weapon they're using. Or just use the loss argument from OnPlayerDamage to get how much damage they did.

Edited by Lergen
Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...