Wie mache ich das wenn ich einem Schadenzugefügt habe und nicht das wenn er schaden bekommt?
Habe mal sowas Gescriptet weis aber nicht ob es richtig ist.
public OnPlayerMakeDamage(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;
}
Habe auch das :
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;
}