Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. new cash;
  2. if(CarryingOre[playerid] == 0)
  3. {
  4. new lucro = 215 + random(80);
  5. cash = lucro; //cobre
  6. }
  7. if(CarryingOre[playerid] == 1)
  8. {
  9. new lucro = 380 + random(80);
  10. cash = lucro; //ametista
  11. }
  12. if(CarryingOre[playerid] == 2)
  13. {
  14. new lucro = 800 + random(80);
  15. cash = lucro; //esmeralda
  16. }
  17. if(CarryingOre[playerid] == 3)
  18. {
  19. new lucro = 690 + random(80);
  20. cash = lucro; //rubi
  21. }
  22. if(CarryingOre[playerid] == 4)
  23. {
  24. new lucro = 450 + random(80);
  25. cash = lucro; //safira
  26. }
  27. if(CarryingOre[playerid] == 5)
  28. {
  29. new lucro = 400 + random(80);
  30. cash = lucro; //ouro
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement