View Single Post
Mr.J
Senior Member
Join Date: Sep 2017
Location: cs_assault
Old 01-02-2018 , 12:37   Re: Need help for powers code
Reply With Quote #14

Quote:
Originally Posted by Relaxing View Post
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 View Post
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)

Last edited by Mr.J; 01-02-2018 at 12:46.
Mr.J is offline