Advertisement
Guest User

problemă

a guest
Aug 17th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.21 KB | None | 0 0
  1. D:\Includes\include\playerzone.inc(422) : warning 219: local variable "i" shadows a variable at a preceding level
  2. D:\Includes\include\playerzone.inc(445) : warning 219: local variable "i" shadows a variable at a preceding level
  3. D:\Includes\include\YSI\y_iterate.inc(696) : warning 219: local variable "i" shadows a variable at a preceding level
  4. D:\Includes\include\YSI\y_iterate.inc(820) : warning 219: local variable "i" shadows a variable at a preceding level
  5. D:\Includes\include\sscanf2.inc(149) : warning 219: local variable "i" shadows a variable at a preceding level
  6. D:\Includes\include\sscanf2.inc(193) : warning 219: local variable "i" shadows a variable at a preceding level
  7. D:\Includes\include\AutoAFK.inc(136) : warning 219: local variable "i" shadows a variable at a preceding level
  8. D:\Includes\include\mSelection.inc(207) : warning 219: local variable "x" shadows a variable at a preceding level
  9. D:\Includes\include\mSelection.inc(222) : warning 219: local variable "x" shadows a variable at a preceding level
  10. D:\Includes\include\mSelection.inc(426) : warning 219: local variable "x" shadows a variable at a preceding level
  11. D:\Includes\include\mSelection.inc(556) : warning 219: local variable "x" shadows a variable at a preceding level
  12. D:\Includes\include\mSelection.inc(656) : warning 219: local variable "i" shadows a variable at a preceding level
  13. D:\Includes\include\md5.inc(272) : warning 219: local variable "i" shadows a variable at a preceding level
  14. D:\Includes\include\md5.inc(316) : warning 219: local variable "index" shadows a variable at a preceding level
  15. D:\Includes\include\YSI\y_amx.inc(908) : warning 219: local variable "idx" shadows a variable at a preceding level
  16. D:\Includes\include\YSI\y_hooks/impl.inc(232) : warning 219: local variable "idx" shadows a variable at a preceding level
  17. D:\Includes\include\YSI\y_hooks/impl.inc(323) : warning 219: local variable "i" shadows a variable at a preceding level
  18. D:\Includes\include\YSI\y_master/once.inc(343) : warning 219: local variable "i" shadows a variable at a preceding level
  19. D:\Includes\include\YSI\y_master/once.inc(399) : warning 219: local variable "i" shadows a variable at a preceding level
  20. D:\Includes\include\YSI\y_master/once.inc(446) : warning 219: local variable "i" shadows a variable at a preceding level
  21. D:\Includes\include\YSI\y_commands.inc(874) : warning 219: local variable "i" shadows a variable at a preceding level
  22. D:\Includes\include\YSI\y_commands.inc(967) : warning 219: local variable "i" shadows a variable at a preceding level
  23. D:\Includes\include\YSI\y_commands.inc(978) : warning 219: local variable "idx" shadows a variable at a preceding level
  24. D:\Includes\include\YSI\y_commands.inc(1049) : warning 219: local variable "i" shadows a variable at a preceding level
  25. D:\Includes\include\YSI\y_commands.inc(1116) : error 025: function heading differs from prototype
  26. D:\Includes\include\YSI\y_commands.inc(1116) : error 025: function heading differs from prototype
  27. D:\Includes\include\YSI\y_commands.inc(1118) : error 025: function heading differs from prototype
  28. D:\Includes\include\YSI\y_commands.inc(1118) : error 025: function heading differs from prototype
  29. D:\Includes\include\YSI\y_commands.inc(1118) : error 025: function heading differs from prototype
  30. D:\Includes\include\YSI\y_commands.inc(1118) : fatal error 107: too many error messages on one line
  31.  
  32. Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
  33.  
  34. case 1100: {
  35. DisablePlayerCheckpoint(playerid);
  36. CP[playerid] ++;
  37. OnePlayAnim(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
  38. GameTextForPlayer(playerid, "Vaci mulse: 1/7", 300, 6);
  39. SetPlayerCheckpoint(playerid, -364.9109,-1434.6281,25.7266, 0.3);
  40. CP[playerid] = 1101;
  41. }
  42. case 1101: {
  43. DisablePlayerCheckpoint(playerid);
  44. CP[playerid] ++;
  45. OnePlayAnim(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
  46. GameTextForPlayer(playerid, "Vaci mulse: 2/7", 300, 6);
  47. SetPlayerCheckpoint(playerid, -365.3781,-1437.7466,25.7266, 0.3);
  48. CP[playerid] = 1102;
  49. }
  50. case 1102: {
  51. DisablePlayerCheckpoint(playerid);
  52. CP[playerid] ++;
  53. OnePlayAnim(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
  54. GameTextForPlayer(playerid, "Vaci mulse: 3/7", 300, 6);
  55. SetPlayerCheckpoint(playerid, -365.5869,-1440.8400,25.7266, 0.3);
  56. CP[playerid] = 1103;
  57. }
  58. case 1103: {
  59. DisablePlayerCheckpoint(playerid);
  60. CP[playerid] ++;
  61. OnePlayAnim(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
  62. GameTextForPlayer(playerid, "Vaci mulse: 4/7", 300, 6);
  63. SetPlayerCheckpoint(playerid, -366.0906,-1443.6588,25.7266, 0.3);
  64. CP[playerid] = 1104;
  65. }
  66. case 1104: {
  67. DisablePlayerCheckpoint(playerid);
  68. CP[playerid] ++;
  69. OnePlayAnim(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
  70. GameTextForPlayer(playerid, "Vaci mulse: 5/7", 300, 6);
  71. SetPlayerCheckpoint(playerid, -366.4643,-1446.4628,25.7266, 0.3);
  72. CP[playerid] = 1105;
  73. }
  74. case 1105: {
  75. DisablePlayerCheckpoint(playerid);
  76. CP[playerid] ++;
  77. OnePlayAnim(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
  78. GameTextForPlayer(playerid, "Vaci mulse: 6/7", 300, 6);
  79. SetPlayerCheckpoint(playerid, -366.5691,-1449.3401,25.7266, 0.3);
  80. CP[playerid] = 1106;
  81. }
  82. case 1106: {
  83. DisablePlayerCheckpoint(playerid);
  84. CP[playerid] ++;
  85. GameTextForPlayer(playerid, "Vaci mulse: 7/7", 300, 6);
  86. FarmVehicle1[playerid] = CreateVehicle(543, -381.7940,-1435.5277,25.7266,352.8094, 1, 1, 120);
  87. PutPlayerInVehicle(playerid, FarmVehicle1[playerid], 0);
  88. SCM(playerid, COLOR_NEPHRITE, "(Job): {ffffff}Du-te la fabrica pentru a vinde laptele!");
  89. SetPlayerCheckpoint(playerid, -213.6517,-265.2262,1.4219, 0.6);
  90. CP[playerid] = 1107;
  91. }
  92. case 1107: {
  93. DisablePlayerCheckpoint(playerid);
  94. CP[playerid] ++;
  95. SCM(playerid, COLOR_NEPHRITE, "(Job): {ffffff}Du-te inapoi la ferma pentru a fi rasplatit!");
  96. SetPlayerCheckpoint(playerid, -381.7940,-1435.5277,25.7266, 0.6);
  97. CP[playerid] = 1108;
  98. }
  99. case 1108: {
  100. DisablePlayerCheckpoint(playerid);
  101. JobWorking[playerid] = 0;
  102. DestroyVehicle(FarmVehicle1[playerid]);
  103. new amount = 10000 + random(10000);
  104. GivePlayerCash(playerid, amount);
  105. Update(playerid, pCashx);
  106. format(string, sizeof(string), "(Job): {ffffff}Ai castigat $%s pentru munca depusa.");
  107. }
  108. case 2000: {
  109. DisablePlayerCheckpoint(playerid);
  110. CP[playerid] ++;
  111. SetPlayerCheckpoint(playerid, 1198.3914,-923.6666,43.0365, 0.6);
  112. CP[playerid] = 2001;
  113. }
  114. case 2001: {
  115. DisablePlayerCheckpoint(playerid);
  116. CP[playerid] ++;
  117. SCM(playerid, COLOR_NEPHRITE, "(Job): {ffffff}Du-te inapoi la ferma pentru a fi rasplatit!");
  118. SetPlayerCheckpoint(playerid, -381.7940,-1435.5277,25.7266, 0.6);
  119. CP[playerid] = 2002;
  120. }
  121. case 2002: {
  122. DisablePlayerCheckpoint(playerid);
  123. JobWorking[playerid] = 0;
  124. DestroyVehicle(FarmVehicle2[playerid]);
  125. new amount = 10000 + random(15000);
  126. GivePlayerCash(playerid, amount);
  127. Update(playerid, pCashx);
  128. format(string, sizeof(string), "(Job): {ffffff}Ai castigat $%s pentru munca depusa.");
  129. }
  130.  
  131. CMD:farm(playerid, params[], help) {
  132. if(PlayerToPoint(7.0, playerid, -1017.3097,-638.8459,32.0078)) {
  133. if(PlayerInfo[playerid][pJob] == 11) return SCM(playerid, -1, "Foloseste /fish pentru a incepe munca la acest job!");
  134. if(!PlayerInfo[playerid][pJob] == 1) return SCM(playerid, COLOR_GREY, "Nu ai job-ul Farmer!");
  135.  
  136. ShowPlayerDialog(playerid, DIALOG_FARM, DIALOG_STYLE_LIST, "Farmer Work", "{FFFF00}Milk the cows\nTransport the meat to a burgr shot", "Select", "Exit");
  137. JobWorking[playerid] = 1;
  138. return 1;
  139. }
  140.  
  141.  
  142.  
  143. case DIALOG_FARM: {
  144. if(!response) return 1;
  145. switch(listitem) {
  146. case 0: {
  147. SCM(playerid, COLOR_NEPHRITE, "(Job): {ffffff}Du-te si mulge vaciile din hambar!");
  148. SetPlayerCheckpoint(playerid, -364.5064,-1431.5447,25.7266, 0.3);
  149. CP[playerid] = 1100;
  150. }
  151. case 1:{
  152. SCM(playerid, COLOR_NEPHRITE, "(Job): {ffffff}Du-te si livreaza carnea la Burger Shot!");
  153. SetPlayerCheckpoint(playerid, 816.8883,-1616.4346,13.8433, 6.0);
  154. FarmVehicle2[playerid] = CreateVehicle(543, -389.8579,-1443.1479,25.7266,0.4980, 1, 1, 120);
  155. PutPlayerInVehicle(playerid, FarmVehicle2[playerid], 0);
  156. CP[playerid] = 2000;
  157. }
  158. }
  159. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement