daily pastebin goal
30%
SHARE
TWEET

Untitled

a guest May 16th, 2018 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. new SomePrais[8][asound]= {
  2.  
  3.     {5448}, //"You win!"
  4.     {5449},//"You win sir well done."
  5.     {5450},//"Congratulations sir!"
  6.     {5458},//"Ten dollars pays out."
  7.     {5461},//"Jackpot!"
  8.     {5462}, //"Another win for sir!"
  9.     {5463},//"Congratulations sir, you're having quite a run."
  10.     {5464}//"I hope sir's luck holds!"
  11.  
  12. };
  13.  
  14. PUB:RandomPrais(playerid)
  15. {
  16.     new randp = random(8);
  17.     new Float:soundpos[3];
  18.     GetPlayerPos(playerid,soundpos[0],soundpos[1],soundpos[2]);
  19.     PlayerPlaySound(playerid, SomePrais[randp][asound], soundpos[0],soundpos[1],soundpos[2] + 10.0 );
  20.     return 1;
  21. }
  22.  
  23.  
  24.  
  25. onplayerdeath          
  26. RandomPrais(killerid); // new prais sounds
RAW Paste Data
Top