devotion aura
Moderator: Forum Moderator
-
- Spell Breaker
- Posts: 398
- Joined: Sun Apr 27, 2008 10:11 pm
devotion aura
i was wondering if there's a way to make it so if the person has more than 175 hp his hp will be lowered to 175.. we have some plugins on our servers that give u some hp and with prep of health people cant max there hp to 225... i was wondering if its possible to mabye put an if statement in there to get the hp and if its > 175 it will automatically make it equal 175.. if this is possible can some1 make the script and tell me where to inserted it in the script

Re: devotion aura
This may be semi difficult - I don't know of an "on health change" function which could be called (at least that could be hooked when set_user_health is called).
Possible if it's checked on client_prethink - but rather intensive to be honest...
What is the issue with having more than 175 health?
Possible if it's checked on client_prethink - but rather intensive to be honest...
What is the issue with having more than 175 health?
No Support via PM
-
- Spell Breaker
- Posts: 398
- Joined: Sun Apr 27, 2008 10:11 pm
Re: devotion aura
makes it almost impossible to kill a invisble human with 225 hp... is there a way you can do like
or something like that
Code: Select all
if( user_health > 225)
{
set_user_health(175)
}

Re: devotion aura
yea - just make a new plugin and put that exact line in client_prethink(id)
No Support via PM