View Single Post
Texnux
Member
Join Date: Mar 2008
Location: Denmark
Old 10-29-2008 , 14:18   Re: Super Condition Amount
Reply With Quote #6

Quote:
Originally Posted by connorr View Post
PHP Code:
public PlayerSpawn(id)
{
    if (
is_user_alive(id))
    {
        if(
csa_health[id] != 100)
        {
            
set_user_health(id,csa_health[id]);
        }    
    }

I fail to see what is different between this and my own?


Quote:
Originally Posted by connorr View Post
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.
So pev_max_health is the client's max health, meaning players health can go over the 100 limit if there is some sort of healing plugin running?

The way you said "also get rid of fun module" makes it sound like you have a way to remove the hamandswich module?

Will update ones I'm clear I've understood you correctly.

New version will include:
- Fakemeta instead of fun
- Plugin rename to Advanced Condition Modifier (title will be renamed to Advanced Condition Modifier (ap/hp) for making it clear what it does)

Anything else can still make it to 1.3.

- Texnux
Texnux is offline