Plese HELP!
i'm starting with scripting and i'm developing my firsts plugins.
I have this problem. I want to create a plugin wich gives me more health and armor. but i noticed that the maximum of health is 250 and of armor is 900 if i run the cvar twice creates a totatally desaster. i want to no how to pud like an if statement, saying that if health is 250, and yo add 100, only add 50 instead of 100. thankss!! |
Re: Plese HELP!
There isn't a maximum health cap. The health number in your HUD will only show up to 255 (or 250, don't remember) and then reset once it passes that, but your actual health value will differ from what the HUD displays.
If you still wanted to do this, you'd do something similar to: Code:
|
| All times are GMT -4. The time now is 07:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.