Hey,
wie füge ich den Blingsound ein, wenn man jemanden anschiesst/HP abzieht?
Hey,
wie füge ich den Blingsound ein, wenn man jemanden anschiesst/HP abzieht?
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
if(issuerid != INVALID_PLAYER_ID) PlayerPlaySound(issuerid,17802,0.0,0.0,0.0), PlayerPlaySound(playerid,17802,0.0,0.0,0.0);
return 1;
}
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!