15.01.2017, 21:54
as the topic how to do so with the appropriate weapons have asked the larger damage?
Regards!
Regards!
OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart) // This callback is called whenever player takes damage
{
new Float:hp;
GetPlayerHealth(playerid, hp);
SetPlayerHealth(playerid, hp - 1.0); // It will increase damage by 1.0
return 1;
}