08.07.2013, 15:43
how to stop players from heli kill?
Is there any code?
Is there any code?
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
new Float:dHealth;
if(weaponid == 50) {
GetPlayerHealth(damagedid, dHealth);
SetPlayerHealth(damagedid, dHealth+amount);
}
return 1;
}