Code:
register_cvar("amx_cm_awardhp","5")
cs_set_user_health(id,"+amx_cm_awardhp")
Several mistakes here.
1) You tried to use a cvar as a string
2) The cvar is not a variable, so it can not be called as a variable, thats why we have get_cvar_num() ;)
3) You + it? + What? Not only that, the compiler would read it as a string at not an operator.
4) do this
Code:
register_cvar("amx_cm_awardhp","5")
...
new health = get_user_health(id)
new awardhp = get_cvar_num("amx_cm_awardhp")
cs_set_user_health(id,health+awardhp)
p.s. cs_set_user_health does not look for a string
__________________