Advertisement
Guest User

Untitled

a guest
May 27th, 2015
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.60 KB | None | 0 0
  1. BRONIE Z ADDONA:
  2. ADDON_AXE_DUAL = "Katowski topór(Dual)";
  3.  
  4. 79 ADDON_DUAL_CIEN = "Cień";
  5.  
  6. 80 ADDON_DUAL_ZABOJCA = "Lekki Miecz";
  7.  
  8. 81 ADDON_DUAL_BLADE1 = "Stary Sztylet"
  9.  
  10. 82 ADDON_DUAL_BLADE2 = "Sztylet z Varantu";
  11.  
  12. 83 ADDON_DUAL_BLADE3 = "Naostrzony Sztylet z Varantu";
  13.  
  14. 84 ITMW_CLAYMORE = "Claymore";
  15.  
  16. 85 SAUSAGE_WEAPON_01 = "Niewykończony miecz";
  17.  
  18. 86 SAUSAGE_WEAPON_02 = "Chłopski miecz";
  19.  
  20. 87 SAUSAGE_WEAPON_03 = "Miecz sędziego";
  21.  
  22. 88 SAUSAGE_WEAPON_04 = "Miecz strażnika";
  23.  
  24. 89 SAUSAGE_WEAPON_05 = "Żądło";
  25.  
  26. 90 SAUSAGE_WEAPON_06 = "Łomotacz";
  27.  
  28. 91 SAUSAGE_WEAPON_07 = "Morgernsztern";
  29.  
  30. 92 SAUSAGE_WEAPON_08 = "Siekiera";
  31.  
  32. 93 SAUSAGE_WEAPON_09 = "Maczuga";
  33.  
  34. 94 SAUSAGE_WEAPON_10 = "Lekki dwuręczny miecz";
  35.  
  36. 95 SAUSAGE_WEAPON_11 = "Miecz nadzorcy";
  37.  
  38. 96 SAUSAGE_WEAPON_12 = "Ostrze najemnika";
  39.  
  40. 97 SAUSAGE_WEAPON_13 = "Topor najemnika elitarnego";
  41.  
  42. 98 SAUSAGE_WEAPON_14 = "Miecz gwardzisty";
  43.  
  44. 99 SAUSAGE_WEAPON_15 = "Miecz zdobiony";
  45.  
  46. 100 SAUSAGE_WEAPON_16 = "Buława nowicjusza";
  47.  
  48. 101 SAUSAGE_WEAPON_17 = "Stary dwuręczny miecz";
  49.  
  50. 102 SAUSAGE_WEAPON_18 = "Stalowy język";
  51.  
  52. 103 SAUSAGE_WEAPON_19 = "Kilof";
  53.  
  54. 104 SAUSAGE_WEAPON_20 = "Lekki łomotacz";
  55.  
  56. 105 ITMW_BERSERK = "Miecz runiczny Myrrona";
  57.  
  58. 106 ITMW_KWASU = "Miecz Argaański";
  59.  
  60. 107 ITMW_steel_axe = "Topór Świetlika";
  61.  
  62. 108 ITMW_steel_longsword = "Długi miecz Świetlika";
  63.  
  64. 109 ITMW_steel_waraxe = "Topór wojenny Świetlika";
  65.  
  66.  
  67.  
  68.  
  69. function CRAFT_KUJB1(playerid)
  70. local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
  71. if item1 and amountitem1 >= 1 then
  72. local x,y,z = GetPlayerPos(playerid);
  73. if x > 5561 and x < 5570 and z > -1983 and z < -740 or x > 47264 and x < 48179 and z > 16849 and z < 17102 or x > 72287 and x < 73050 and z > -10843 and z < -9935 or x > 34379 and x < 35571 and z > 55 and z < 167 or x > 4504 and x < 4626 and z > -6735 and z < -5753 or x > 5816 and x < 5956 and z > -1552 and z < -1370 or x > 49986 and x < 50235 and z > 18859 and z < 19598 or x > -904 and x < -516 and z > -7674 and z < -7201 then
  74. if Player[playerid].kowal == 1 then
  75. RemoveItem(playerid, "ITMISWORDRAWHOT", 1);
  76. GiveItem(playerid, "ITMW_1H_VLK_DAGGER", 2);
  77. GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
  78. else
  79. GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  80. end
  81. else
  82. GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  83. end
  84. else
  85. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  86. end
  87. end
  88.  
  89. function CRAFT_KUJB2(playerid)
  90. local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
  91. if item1 and amountitem1 >= 1 then
  92. local x,y,z = GetPlayerPos(playerid);
  93. if x > 5561 and x < 5570 and z > -1983 and z < -740 or x > 47264 and x < 48179 and z > 16849 and z < 17102 or x > 72287 and x < 73050 and z > -10843 and z < -9935 or x > 34379 and x < 35571 and z > 55 and z < 167 or x > 4504 and x < 4626 and z > -6735 and z < -5753 or x > 5816 and x < 5956 and z > -1552 and z < -1370 or x > 49986 and x < 50235 and z > 18859 and z < 19598 or x > -904 and x < -516 and z > -7674 and z < -7201 then
  94. if Player[playerid].kowal == 1 then
  95. RemoveItem(playerid, "ITMISWORDRAWHOT", 1);
  96. GiveItem(playerid, "ITMW_1H_BAU_AXE", 1);
  97. GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
  98. else
  99. GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  100. end
  101. else
  102. GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  103. end
  104. else
  105. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  106. end
  107. end
  108.  
  109.  
  110. function CRAFT_KUJB3(playerid)
  111. local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
  112. local item2, amountitem2 = checkPlayerItem(playerid, "ITMW_1H_BAU_MACE");
  113. if item1 and amountitem1 >= 1 then
  114. if item2 and amountitem2 >= 1 then
  115. local x,y,z = GetPlayerPos(playerid);
  116. if x > 5561 and x < 5570 and z > -1983 and z < -740 or x > 47264 and x < 48179 and z > 16849 and z < 17102 or x > 72287 and x < 73050 and z > -10843 and z < -9935 or x > 34379 and x < 35571 and z > 55 and z < 167 or x > 4504 and x < 4626 and z > -6735 and z < -5753 or x > 5816 and x < 5956 and z > -1552 and z < -1370 or x > 49986 and x < 50235 and z > 18859 and z < 19598 or x > -904 and x < -516 and z > -7674 and z < -7201 then
  117. if Player[playerid].kowal == 1 then
  118. RemoveItem(playerid, "ITMISWORDRAWHOT", 1);
  119. RemoveItem(playerid, "ITMW_1H_BAU_MACE", 1);
  120. GiveItem(playerid, "ITMW_1H_VLK_AXE", 1);
  121. GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
  122. else
  123. GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  124. end
  125. else
  126. GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  127. end
  128. else
  129. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  130. end
  131. else
  132. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  133. end
  134. end
  135.  
  136. function CRAFT_KUJB4(playerid)
  137. local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
  138. local item2, amountitem2 = checkPlayerItem(playerid, "ITMW_1H_BAU_MACE");
  139. if item1 and amountitem1 >= 1 then
  140. if item2 and amountitem1 >= 1 then
  141. local x,y,z = GetPlayerPos(playerid);
  142. if x > 5561 and x < 5570 and z > -1983 and z < -740 or x > 47264 and x < 48179 and z > 16849 and z < 17102 or x > 72287 and x < 73050 and z > -10843 and z < -9935 or x > 34379 and x < 35571 and z > 55 and z < 167 or x > 4504 and x < 4626 and z > -6735 and z < -5753 or x > 5816 and x < 5956 and z > -1552 and z < -1370 or x > 49986 and x < 50235 and z > 18859 and z < 19598 or x > -904 and x < -516 and z > -7674 and z < -7201 then
  143. if Player[playerid].kowal == 1 then
  144. RemoveItem(playerid, "ITMISWORDRAWHOT", 1);
  145. RemoveItem(playerid, "ITMW_1H_BAU_MACE", 1);
  146. GiveItem(playerid, "ITMW_1H_MACE_L_04", 1);
  147. GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
  148. else
  149. GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  150. end
  151. else
  152. GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  153. end
  154. else
  155. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  156. end
  157. else
  158. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  159. end
  160. end
  161.  
  162. function CRAFT_KUJB5(playerid)
  163. local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
  164. local item2, amountitem2 = checkPlayerItem(playerid, "ITMW_1H_BAU_MACE");
  165. if item1 and amountitem1 >= 2 then
  166. if item2 and amountitem1 >= 1 then
  167. local x,y,z = GetPlayerPos(playerid);
  168. if x > 5561 and x < 5570 and z > -1983 and z < -740 or x > 47264 and x < 48179 and z > 16849 and z < 17102 or x > 72287 and x < 73050 and z > -10843 and z < -9935 or x > 34379 and x < 35571 and z > 55 and z < 167 or x > 4504 and x < 4626 and z > -6735 and z < -5753 or x > 5816 and x < 5956 and z > -1552 and z < -1370 or x > 49986 and x < 50235 and z > 18859 and z < 19598 or x > -904 and x < -516 and z > -7674 and z < -7201 then
  169. if Player[playerid].kowal == 1 then
  170. RemoveItem(playerid, "ITMISWORDRAWHOT", 2);
  171. RemoveItem(playerid, "ITMW_1H_BAU_MACE", 1);
  172. GiveItem(playerid, "ITMW_SENSE", 1);
  173. GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
  174. else
  175. GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  176. end
  177. else
  178. GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  179. end
  180. else
  181. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  182. end
  183. else
  184. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  185. end
  186. end
  187.  
  188.  
  189.  
  190. function CRAFT_KUJB6(playerid)
  191. local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
  192. local item2, amountitem2 = checkPlayerItem(playerid, "ITMW_1H_BAU_MACE");
  193. if item1 and amountitem1 >= 2 then
  194. if item2 and amountitem1 >= 2 then
  195. local x,y,z = GetPlayerPos(playerid);
  196. if x > 5561 and x < 5570 and z > -1983 and z < -740 or x > 47264 and x < 48179 and z > 16849 and z < 17102 or x > 72287 and x < 73050 and z > -10843 and z < -9935 or x > 34379 and x < 35571 and z > 55 and z < 167 or x > 4504 and x < 4626 and z > -6735 and z < -5753 or x > 5816 and x < 5956 and z > -1552 and z < -1370 or x > 49986 and x < 50235 and z > 18859 and z < 19598 or x > -904 and x < -516 and z > -7674 and z < -7201 then
  197. if Player[playerid].kowal == 1 then
  198. RemoveItem(playerid, "ITMISWORDRAWHOT", 2);
  199. RemoveItem(playerid, "ITMW_1H_BAU_MACE", 2);
  200. GiveItem(playerid, "ITMW_2H_AXE_L_01", 1);
  201. GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
  202. else
  203. GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  204. end
  205. else
  206. GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  207. end
  208. else
  209. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  210. end
  211. else
  212. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  213. end
  214. end
  215.  
  216. function CRAFT_KUJB7(playerid)
  217. local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
  218. if item1 and amountitem1 >= 2 then
  219. local x,y,z = GetPlayerPos(playerid);
  220. if x > 5561 and x < 5570 and z > -1983 and z < -740 or x > 47264 and x < 48179 and z > 16849 and z < 17102 or x > 72287 and x < 73050 and z > -10843 and z < -9935 or x > 34379 and x < 35571 and z > 55 and z < 167 or x > 4504 and x < 4626 and z > -6735 and z < -5753 or x > 5816 and x < 5956 and z > -1552 and z < -1370 or x > 49986 and x < 50235 and z > 18859 and z < 19598 or x > -904 and x < -516 and z > -7674 and z < -7201 then
  221. if Player[playerid].kowal == 1 then
  222. RemoveItem(playerid, "ITMI_SWORDRAWHOT", 2);
  223. GiveItem(playerid, "ITMW_SHORTSWORD3", 1);
  224. GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
  225. else
  226. GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  227. end
  228. else
  229. GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  230. end
  231. else
  232. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  233. end
  234. end
  235.  
  236. function CRAFT_KUJB8(playerid)
  237. local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
  238. local item3, amountitem3 = checkPlayerItem(playerid, "ITAT_SHEEPFUR");
  239. if item1 and amountitem1 >= 4 then
  240. if item3 and amountitem3 >= 1 then
  241. local x,y,z = GetPlayerPos(playerid);
  242. if x > 5561 and x < 5570 and z > -1983 and z < -740 or x > 47264 and x < 48179 and z > 16849 and z < 17102 or x > 72287 and x < 73050 and z > -10843 and z < -9935 or x > 34379 and x < 35571 and z > 55 and z < 167 or x > 4504 and x < 4626 and z > -6735 and z < -5753 or x > 5816 and x < 5956 and z > -1552 and z < -1370 or x > 49986 and x < 50235 and z > 18859 and z < 19598 or x > -904 and x < -516 and z > -7674 and z < -7201 then
  243. if Player[playerid].kowal == 1 then
  244. RemoveItem(playerid, "ITMISWORDRAWHOT", 4);
  245. RemoveItem(playerid, "ITAT_SHEEPFUR", 3);
  246. GiveItem(playerid, "ITMW_1H_VLK_SWORD", 1);
  247. GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
  248. else
  249. GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  250. end
  251. else
  252. GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  253. end
  254. else
  255. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  256. end
  257. else
  258. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  259. end
  260. end
  261.  
  262. function CRAFT_KUJB9(playerid)
  263. local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
  264. local item3, amountitem3 = checkPlayerItem(playerid, "ITAT_SHEEPFUR");
  265. if item1 and amountitem1 >= 5 then
  266. if item3 and amountitem1 >= 1 then
  267. local x,y,z = GetPlayerPos(playerid);
  268. if x > 5561 and x < 5570 and z > -1983 and z < -740 or x > 47264 and x < 48179 and z > 16849 and z < 17102 or x > 72287 and x < 73050 and z > -10843 and z < -9935 or x > 34379 and x < 35571 and z > 55 and z < 167 or x > 4504 and x < 4626 and z > -6735 and z < -5753 or x > 5816 and x < 5956 and z > -1552 and z < -1370 or x > 49986 and x < 50235 and z > 18859 and z < 19598 or x > -904 and x < -516 and z > -7674 and z < -7201 then
  269. if Player[playerid].kowal == 1 then
  270. RemoveItem(playerid, "ITMISWORDRAWHOT", 5);
  271. RemoveItem(playerid, "ITAT_SHEEPFUR", 1);
  272. GiveItem(playerid, "ITMW_SHORTSWORD5", 1);
  273. GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
  274. else
  275. GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  276. end
  277. else
  278. GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  279. end
  280. else
  281. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  282. end
  283. else
  284. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  285. end
  286. end
  287.  
  288. function CRAFT_KUJB10(playerid)
  289. local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
  290. local item2, amountitem2 = checkPlayerItem(playerid, "ITMW_1H_BAU_MACE");
  291. local item3, amountitem3 = checkPlayerItem(playerid, "ITAT_SHEEPFUR");
  292. if item1 and amountitem1 >= 4 then
  293. if item2 and amountitem1 >= 4 then
  294. if item3 and amountitem1 >= 1 then
  295. local x,y,z = GetPlayerPos(playerid);
  296. if x > 5561 and x < 5570 and z > -1983 and z < -740 or x > 47264 and x < 48179 and z > 16849 and z < 17102 or x > 72287 and x < 73050 and z > -10843 and z < -9935 or x > 34379 and x < 35571 and z > 55 and z < 167 or x > 4504 and x < 4626 and z > -6735 and z < -5753 or x > 5816 and x < 5956 and z > -1552 and z < -1370 or x > 49986 and x < 50235 and z > 18859 and z < 19598 or x > -904 and x < -516 and z > -7674 and z < -7201 then
  297. if Player[playerid].kowal == 1 then
  298. RemoveItem(playerid, "ITMISWORDRAWHOT", 4);
  299. RemoveItem(playerid, "ITMW_1H_BAU_MACE", 4);
  300. RemoveItem(playerid, "ITAT_SHEEPFUR", 1);
  301. GiveItem(playerid, "ITMW_2H_BAU_AXE", 1);
  302. GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
  303. else
  304. GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  305. end
  306. else
  307. GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  308. end
  309. else
  310. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  311. end
  312. else
  313. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  314. end
  315. else
  316. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  317. end
  318. end
  319.  
  320. function CRAFT_KUJB11(playerid)
  321. local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
  322. local item3, amountitem3 = checkPlayerItem(playerid, "ITAT_SHEEPFUR");
  323. if item1 and amountitem1 >= 6 then
  324. if item3 and amountitem1 >= 2 then
  325. local x,y,z = GetPlayerPos(playerid);
  326. if x > 5561 and x < 5570 and z > -1983 and z < -740 or x > 47264 and x < 48179 and z > 16849 and z < 17102 or x > 72287 and x < 73050 and z > -10843 and z < -9935 or x > 34379 and x < 35571 and z > 55 and z < 167 or x > 4504 and x < 4626 and z > -6735 and z < -5753 or x > 5816 and x < 5956 and z > -1552 and z < -1370 or x > 49986 and x < 50235 and z > 18859 and z < 19598 or x > -904 and x < -516 and z > -7674 and z < -7201 then
  327. if Player[playerid].kowal == 1 then
  328. RemoveItem(playerid, "ITMISWORDRAWHOT", 6);
  329. RemoveItem(playerid, "ITAT_SHEEPFUR", 2);
  330. GiveItem(playerid, "ITMW_SCHWERT1", 1);
  331. GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
  332. else
  333. GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  334. end
  335. else
  336. GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  337. end
  338. else
  339. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  340. end
  341. else
  342. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  343. end
  344. end
  345.  
  346. function CRAFT_KUJB12(playerid)
  347. local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
  348. local item2, amountitem2 = checkPlayerItem(playerid, "ITMW_1H_BAU_MACE");
  349. local item3, amountitem3 = checkPlayerItem(playerid, "ITAT_SHEEPFUR");
  350. if item1 and amountitem1 >= 5 then
  351. if item2 and amountitem1 >= 3 then
  352. if item3 and amountitem1 >= 2 then
  353. local x,y,z = GetPlayerPos(playerid);
  354. if x > 5561 and x < 5570 and z > -1983 and z < -740 or x > 47264 and x < 48179 and z > 16849 and z < 17102 or x > 72287 and x < 73050 and z > -10843 and z < -9935 or x > 34379 and x < 35571 and z > 55 and z < 167 or x > 4504 and x < 4626 and z > -6735 and z < -5753 or x > 5816 and x < 5956 and z > -1552 and z < -1370 or x > 49986 and x < 50235 and z > 18859 and z < 19598 or x > -904 and x < -516 and z > -7674 and z < -7201 then
  355. if Player[playerid].kowal == 1 then
  356. RemoveItem(playerid, "ITMISWORDRAWHOT", 5);
  357. RemoveItem(playerid, "ITMW_1H_BAU_MACE", 3);
  358. RemoveItem(playerid, "ITAT_SHEEPFUR", 2);
  359. GiveItem(playerid, "ITMW_NAGELKEULE2", 1);
  360. GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
  361. else
  362. GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  363. end
  364. else
  365. GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  366. end
  367. else
  368. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  369. end
  370. else
  371. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  372. end
  373. else
  374. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  375. end
  376. end
  377.  
  378. function CRAFT_KUJB13(playerid)
  379. local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
  380. local item3, amountitem3 = checkPlayerItem(playerid, "ITAT_SHEEPFUR");
  381. if item1 and amountitem1 >= 6 then
  382. if item3 and amountitem1 >= 2 then
  383. local x,y,z = GetPlayerPos(playerid);
  384. if x > 5561 and x < 5570 and z > -1983 and z < -740 or x > 47264 and x < 48179 and z > 16849 and z < 17102 or x > 72287 and x < 73050 and z > -10843 and z < -9935 or x > 34379 and x < 35571 and z > 55 and z < 167 or x > 4504 and x < 4626 and z > -6735 and z < -5753 or x > 5816 and x < 5956 and z > -1552 and z < -1370 or x > 49986 and x < 50235 and z > 18859 and z < 19598 or x > -904 and x < -516 and z > -7674 and z < -7201 then
  385. if Player[playerid].kowal == 1 then
  386. RemoveItem(playerid, "ITMISWORDRAWHOT", 6);
  387. RemoveItem(playerid, "ITAT_SHEEPFUR", 2);
  388. GiveItem(playerid, "ITMW_ADDON_PIR1HSWORD", 1);
  389. GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
  390. else
  391. GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  392. end
  393. else
  394. GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  395. end
  396. else
  397. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  398. end
  399. else
  400. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  401. end
  402. end
  403.  
  404. function CRAFT_KUJB14(playerid)
  405. local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
  406. local item3, amountitem3 = checkPlayerItem(playerid, "ITAT_SHEEPFUR");
  407. if item1 and amountitem1 >= 7 then
  408. if item3 and amountitem1 >= 2 then
  409. local x,y,z = GetPlayerPos(playerid);
  410. if x > 5561 and x < 5570 and z > -1983 and z < -740 or x > 47264 and x < 48179 and z > 16849 and z < 17102 or x > 72287 and x < 73050 and z > -10843 and z < -9935 or x > 34379 and x < 35571 and z > 55 and z < 167 or x > 4504 and x < 4626 and z > -6735 and z < -5753 or x > 5816 and x < 5956 and z > -1552 and z < -1370 or x > 49986 and x < 50235 and z > 18859 and z < 19598 or x > -904 and x < -516 and z > -7674 and z < -7201 then
  411. if Player[playerid].kowal == 1 then
  412. RemoveItem(playerid, "ITMISWORDRAWHOT", 7);
  413. RemoveItem(playerid, "ITAT_SHEEPFUR", 2);
  414. GiveItem(playerid, "ITMW_2H_SLD_SWORD", 1);
  415. GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
  416. else
  417. GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  418. end
  419. else
  420. GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  421. end
  422. else
  423. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  424. end
  425. else
  426. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  427. end
  428. end
  429.  
  430. function CRAFT_KUJB15(playerid)
  431. local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
  432. local item3, amountitem3 = checkPlayerItem(playerid, "ITAT_SHEEPFUR");
  433. if item1 and amountitem1 >= 9 then
  434. if item3 and amountitem1 >= 2 then
  435. local x,y,z = GetPlayerPos(playerid);
  436. if x > 5561 and x < 5570 and z > -1983 and z < -740 or x > 47264 and x < 48179 and z > 16849 and z < 17102 or x > 72287 and x < 73050 and z > -10843 and z < -9935 or x > 34379 and x < 35571 and z > 55 and z < 167 or x > 4504 and x < 4626 and z > -6735 and z < -5753 or x > 5816 and x < 5956 and z > -1552 and z < -1370 or x > 49986 and x < 50235 and z > 18859 and z < 19598 or x > -904 and x < -516 and z > -7674 and z < -7201 then
  437. if Player[playerid].kowal == 1 then
  438. RemoveItem(playerid, "ITMISWORDRAWHOT", 9);
  439. RemoveItem(playerid, "ITAT_SHEEPFUR", 2);
  440. GiveItem(playerid, "ITMW_SCHWERT", 1);
  441. GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
  442. else
  443. GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  444. end
  445. else
  446. GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  447. end
  448. else
  449. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  450. end
  451. else
  452. GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
  453. end
  454. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement