23.06.2015, 21:47
I wonder how to change the code, one punches the other and the person loses life, I wanted to know how not to let it happen, does anyone know how I can modoficar? please?
PHP код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart) {
if ( weaponid == 0 || weaponid == 1 ) // soco e soqueira
return 0;
return 1;
}