Quote:
Originally Posted by Relaxing
This must work, id is already defined insinde each func.
Code:
public AddHealth(id){
if (is_user_alive(id)) return 0;
set_user_health(id, get_user_health(id) + (20*HealthLevel[id]));
Refreshing[id] = false;
return 1;
}
public NeverEndingRegen(id){
if (is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_CT && !Refreshing[id]) return 0;
set_user_health(id, get_user_health(id) + RegenLevel[id]);
return 1;
}
|
every zombie have his own HP , you can Upgrade level of health and regen HP , but does not regen HP and increase HP amount . and if you need the code to fix it, i will send it to you in private
Quote:
Originally Posted by zmd94
So, the code you post at the main post is part of the GunXP mod code?
|
this code are alone , but have big relationship of gunxpmod (you can say part of it)