25.08.2014, 14:30
My question is same as my topic .. pls help me
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
if(issuerid != INVALID_PLAYER_ID) //If not self inflicted
{
PlayerPlaySound(playerid,6401,0,0,0); //Plays the sound - Change '6401' to whatever sound you want to play
}
return 1;
}
PlayerPlaySound(playerid, 1186, 0.0, 0.0, 0.0); // (blank sound) No Sound/music