View Single Post
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-29-2008 , 13:35   Re: Super Condition Amount
Reply With Quote #5

PHP Code:
public PlayerSpawn(id)
{
    if (
is_user_alive(id))
    {
        if(
csa_health[id] != 100)
        {
            
set_user_health(id,csa_health[id]);
        }    
    }

You should also set pev_max_health to csa_health[id] (<- float).
So i suggest you to set pev_health and pev_max_health, so you can also get rid of fun module.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline