Advertisement
Guest User

Untitled

a guest
May 30th, 2015
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. case 1:
  2. {
  3. if(Current == donutshop) format(actstring, sizeof(actstring), "* %s eats a little donut and plays with the little toy that came with it.", PlayerName(playerid));
  4. else format(actstring, sizeof(actstring), "* %s eats their kids meal and plays with the little toy that came with it.", PlayerName(playerid));
  5. JBC_GivePlayerMoney(playerid, -2);
  6. JBC_SetPlayerHealth(playerid, health + 20);
  7. Glad[playerid] += 20;
  8. if(Glad[playerid] > 100) {Glad[playerid] = 100;}
  9. }
  10. case 2:
  11. {
  12. if (Current == chickenmenu) format(actstring, sizeof(actstring), "* %s eats the nuggets from their cup.", PlayerName(playerid));
  13. else if (Current == pizzamenu) format(actstring, sizeof(actstring), "* %s eats their personal pan pizza.", PlayerName(playerid));
  14. else if (Current == donutshop) format(actstring, sizeof(actstring), "* %s eats their regular size donut.", PlayerName(playerid));
  15. else format(actstring, sizeof(actstring), "* %s eats their cheeseburger.", PlayerName(playerid));
  16. JBC_GivePlayerMoney(playerid, -4);
  17. JBC_SetPlayerHealth(playerid, health + 50);
  18. Glad[playerid] += 25;
  19. if(Glad[playerid] > 100) {Glad[playerid] = 100;}
  20. }
  21. case 3:
  22. {
  23. if (Current == pizzamenu) format(actstring, sizeof(actstring), "* %s eats their greasy sheet pizza.", PlayerName(playerid));
  24. else if (Current == donutshop) format(actstring, sizeof(actstring), "* %s eats their extra large chief donut.", PlayerName(playerid));
  25. else format(actstring, sizeof(actstring), "* %s eats their greasy sandwich.", PlayerName(playerid));
  26. JBC_GivePlayerMoney(playerid, -5);
  27. JBC_SetPlayerHealth(playerid, health + 80);
  28. Glad[playerid] += 25;
  29. if(Glad[playerid] > 100) {Glad[playerid] = 100;}
  30. }
  31. case 4:
  32. {
  33. if (Current == donutshop) format(actstring, sizeof(actstring), "* %s eats their extra large donut.", PlayerName(playerid));
  34. else format(actstring, sizeof(actstring), "* %s eats the freshly tossed salad from the bowl (with a fork of course).", PlayerName(playerid));
  35. JBC_GivePlayerMoney(playerid, -3);
  36. JBC_SetPlayerHealth(playerid, health + 35);
  37. Glad[playerid] += 30;
  38. if(Glad[playerid] > 100) {Glad[playerid] = 100;}
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement