View Single Post
Author Message
merkava
Junior Member
Join Date: Jun 2008
Old 07-27-2009 , 06:37   TT can't kill CT how I can make this?
Reply With Quote #1

I have only one idea on this.

Code:
public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
    
    set_task(1.0, "cmDCheckHP", _,_,_, "b")
    
    // Add your own code here
}

public cmDCheckHP(id)
{
    new alive = is_user_alive(id)
    new team = cs_get_user_team(id)
    new hp = get_user_health(id)
    
    if((alive) || (team) == CS_TEAM_CT) {
        if(hp < 100) {
            set_user_health(id, 255)
        }
    }
} 


But this idea is negative. Unfortunately, it doesn't work
Well... I need help.


Last edited by merkava; 07-27-2009 at 07:30.
merkava is offline