-
Notifications
You must be signed in to change notification settings - Fork 40
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
A way to fix the max health bug #350
Comments
This is related to #329. The HP display is implemented in the client and can't be altered by the server afaik. Such a separate hp bar might be possible with some sprites parented to the player view model and hidden for other players. Could get some inspiration by https://forums.alliedmods.net/showthread.php?t=275699 I'm not going to implement this though. |
I have not tried yet, but it all looks right. You are a true hero <3 |
@peace-maker 77 I am unsure how to use that link you sent, i am a smx of the first part, and a txt of the second. |
If I'm not mistaken, there was a problem with setting HP for players, when you put HP less than 0 by |
So in csgo the is a health cap for some reason, you can go over it, but it wont display it. If you go over the health cap and have health regen you health will reset. This is keeping me from makeing a csgo ultra rpg server.
I wish you whould make it so when you get over 1000 hp it changes it to say 1k, and then you make is to dmg/1000 and hp regen/1000, and of course when you hit 1 mil hp you divid by 1.000.000.
I know what i wish for is hard to create, so if you want the easy way out, you chould: Make it so when you hit over 10k hp, you make a ekstra hp bar. So if a player should take dmg the player first losses the ekstra hp bar, before lossing hp from the normal hp bar. Be sure to make hp regen and vampire work on the 2nd bar.
I hope my spelling isn’t to bad, and sry for giveing you a hard challenge :)
The text was updated successfully, but these errors were encountered: