Erstell dir diesen Public.
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
PlayerPlaySound(issuerid,17802,0.0,0.0,0.0);
return 1;
}
Falls du möchtest das derjeninge der getroffen wird das auch hört einfach das hier eingeben.
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
PlayerPlaySound(issuerid,17802,0.0,0.0,0.0);
PlayerPlaySound(playerid,17802,0.0,0.0,0.0);
return 1;
}
Quelle: [ SCRIPTING ] Hitsounds erstellen
Ich habe 10 Sekunden gebraucht um das zu finden!