Hallo wenn ich einen ein Headshot gebe geht der server Down
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~] Headshot ]",5000,5);
GameTextForPlayer(issuerid,!"~g~~h~~h~] Headshot ]",5000,5);
SetPlayerHealth(playerid, 0.0);
return 1;
}