Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. if(mInfo[playerid][mInMining] == 1)
  2. {
  3. printf("%d: KOPIE!", playerid);
  4. if(mInfo[playerid][mMiningClicks] == 35)
  5. {
  6. printf("%d: 35 KLIK xD!", playerid);
  7. for(new Loop0 = 0; Loop0 < MAX_ORES; Loop0 += 1)
  8. {
  9. printf("%d: ZAJEBISTA PETLA: %d", playerid, Loop0);
  10.  
  11. if(IsPlayerInRangeOfPoint(playerid, 3, oInfo[Loop0][oPlaceX], oInfo[Loop0][oPlaceY], oInfo[Loop0][oPlaceZ])
  12. {
  13. printf("%d %d yee", playerid, Loop0);
  14.  
  15. ClearAnimations(playerid);
  16.  
  17. TogglePlayerControllable(playerid, 1);
  18.  
  19. mInfo[playerid][mInMining] = 0;
  20. mInfo[playerid][mMiningClicks] = 0;
  21.  
  22. if(oInfo[Loop0][oType] == 0)
  23. {
  24. mInfo[playerid][mDiament] += 1;
  25.  
  26. SendClientMessage(playerid, -1, "{FFFFFF}DIAMENT");
  27. }
  28.  
  29. if(oInfo[Loop0][oType] == 1)
  30. {
  31. mInfo[playerid][mZloto] += 1;
  32.  
  33. SendClientMessage(playerid, -1, "{FFFFFF}ZŁOTO");
  34. }
  35.  
  36. if(oInfo[Loop0][oType] == 2)
  37. {
  38. mInfo[playerid][mZelazo] += 1;
  39.  
  40. SendClientMessage(playerid, -1, "{FFFFFF}ŻELAZO");
  41. }
  42.  
  43. if(oInfo[Loop0][oType] == 3)
  44. {
  45. mInfo[playerid][mBraz] += 1;
  46.  
  47. SendClientMessage(playerid, -1, "{FFFFFF}BRĄZ");
  48. }
  49.  
  50. break;
  51. } else
  52. printf("%d %d noo", playerid, Loop0);
  53. }
  54. }
  55.  
  56. printf("%d: DODAJE!", playerid);
  57.  
  58. mInfo[playerid][mMiningClicks] += 1;
  59.  
  60. ApplyAnimation(playerid, "CHAINSAW", "CSAW_1", 50, 0, 1, 0, 1, 1);
  61. }
  62. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement