Quote:
Originally Posted by wyrda
I didn''t test your code because this functions fm_set_user_health,fm_set_user_gravity does not exists(I think that you wrote them or maybe is an older version of amxmodx) and it should work.
|
Like i say this is not the full code. Just add like this ?
PHP Code:
stock fm_set_user_health(index, health) {
health > 0 ? set_pev(index, pev_health, float(health)) : dllfunc(DLLFunc_ClientKill, index);
return 1;
}
stock fm_set_user_gravity(index, Float:gravity = 1.0) {
set_pev(index, pev_gravity, gravity);
return 1;
}
__________________