error 025: function heading differs from prototype
error 030: compound statement not closed at the end of file (started at line 66709)
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
if(issuerid == INVALID_PLAYER_ID) return 1;
PlayerPlaySound(issuerid,17802,0.0,0.0,0.0);
if(weaponid == 34 && bodypart == 9) //Headshot System
{
GameTextForPlayer(playerid,!"~r~~h~~h~] Boom Headshot ]",5000,5);
GameTextForPlayer(issuerid,!"~g~~h~~h~] Boom Headshot ]",5000,5);
SetPlayerHealth(playerid, 0.0);
return 1;
}