08.06.2014, 19:35
How to play sounds if player attack another player not with PlayAudioStreamForPlayer ?
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart)
{
PlayerPlaySound(...);
return true;
}
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
PlayerPlaySound(issuerid, 17802, 0.0, 0.0, 0.0);
return 1;
}