Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new SomePrais[8][asound]= {
- {5448}, //"You win!"
- {5449},//"You win sir well done."
- {5450},//"Congratulations sir!"
- {5458},//"Ten dollars pays out."
- {5461},//"Jackpot!"
- {5462}, //"Another win for sir!"
- {5463},//"Congratulations sir, you're having quite a run."
- {5464}//"I hope sir's luck holds!"
- };
- PUB:RandomPrais(playerid)
- {
- new randp = random(8);
- new Float:soundpos[3];
- GetPlayerPos(playerid,soundpos[0],soundpos[1],soundpos[2]);
- PlayerPlaySound(playerid, SomePrais[randp][asound], soundpos[0],soundpos[1],soundpos[2] + 10.0 );
- return 1;
- }
- onplayerdeath
- RandomPrais(killerid); // new prais sounds
Add Comment
Please, Sign In to add comment