How to make ding sound on player give damage?
#1

My question is same as my topic .. pls help me
Reply
#2

pawn Код:
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;
}
Reply
#3

Well its easy its like :
pawn Код:
PlayerPlaySound(playerid, 1186, 0.0, 0.0, 0.0); // (blank sound) No Sound/music
if u put the Jezzy's club coordinations u will get that club music, so i hope u understanded someting
U need to find the bell sound Coordinations or idk lol
Reply
#4

tHX BRO .. I KNOW PLAYERPLAYSOUND BUT I WAS CONFUSED ON ONPLAYERGIVEDAMAGE THX +REP FOR YOU BOTH

SRY FOR THE CAPS .. KEYBOARD SUCKS
Reply
#5

Quote:
Originally Posted by NGEN123
Посмотреть сообщение
tHX BRO .. I KNOW PLAYERPLAYSOUND BUT I WAS CONFUSED ON ONPLAYERGIVEDAMAGE THX +REP FOR YOU BOTH

SRY FOR THE CAPS .. KEYBOARD SUCKS
Yeah no problem, and bro can find Sounds IDs HERE
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)