Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BRONIE Z ADDONA:
- ADDON_AXE_DUAL = "Katowski topór(Dual)";
- 79 ADDON_DUAL_CIEN = "Cień";
- 80 ADDON_DUAL_ZABOJCA = "Lekki Miecz";
- 81 ADDON_DUAL_BLADE1 = "Stary Sztylet"
- 82 ADDON_DUAL_BLADE2 = "Sztylet z Varantu";
- 83 ADDON_DUAL_BLADE3 = "Naostrzony Sztylet z Varantu";
- 84 ITMW_CLAYMORE = "Claymore";
- 85 SAUSAGE_WEAPON_01 = "Niewykończony miecz";
- 86 SAUSAGE_WEAPON_02 = "Chłopski miecz";
- 87 SAUSAGE_WEAPON_03 = "Miecz sędziego";
- 88 SAUSAGE_WEAPON_04 = "Miecz strażnika";
- 89 SAUSAGE_WEAPON_05 = "Żądło";
- 90 SAUSAGE_WEAPON_06 = "Łomotacz";
- 91 SAUSAGE_WEAPON_07 = "Morgernsztern";
- 92 SAUSAGE_WEAPON_08 = "Siekiera";
- 93 SAUSAGE_WEAPON_09 = "Maczuga";
- 94 SAUSAGE_WEAPON_10 = "Lekki dwuręczny miecz";
- 95 SAUSAGE_WEAPON_11 = "Miecz nadzorcy";
- 96 SAUSAGE_WEAPON_12 = "Ostrze najemnika";
- 97 SAUSAGE_WEAPON_13 = "Topor najemnika elitarnego";
- 98 SAUSAGE_WEAPON_14 = "Miecz gwardzisty";
- 99 SAUSAGE_WEAPON_15 = "Miecz zdobiony";
- 100 SAUSAGE_WEAPON_16 = "Buława nowicjusza";
- 101 SAUSAGE_WEAPON_17 = "Stary dwuręczny miecz";
- 102 SAUSAGE_WEAPON_18 = "Stalowy język";
- 103 SAUSAGE_WEAPON_19 = "Kilof";
- 104 SAUSAGE_WEAPON_20 = "Lekki łomotacz";
- 105 ITMW_BERSERK = "Miecz runiczny Myrrona";
- 106 ITMW_KWASU = "Miecz Argaański";
- 107 ITMW_steel_axe = "Topór Świetlika";
- 108 ITMW_steel_longsword = "Długi miecz Świetlika";
- 109 ITMW_steel_waraxe = "Topór wojenny Świetlika";
- function CRAFT_KUJB1(playerid)
- local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
- if item1 and amountitem1 >= 1 then
- local x,y,z = GetPlayerPos(playerid);
- 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
- if Player[playerid].kowal == 1 then
- RemoveItem(playerid, "ITMISWORDRAWHOT", 1);
- GiveItem(playerid, "ITMW_1H_VLK_DAGGER", 2);
- GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- end
- function CRAFT_KUJB2(playerid)
- local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
- if item1 and amountitem1 >= 1 then
- local x,y,z = GetPlayerPos(playerid);
- 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
- if Player[playerid].kowal == 1 then
- RemoveItem(playerid, "ITMISWORDRAWHOT", 1);
- GiveItem(playerid, "ITMW_1H_BAU_AXE", 1);
- GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- end
- function CRAFT_KUJB3(playerid)
- local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
- local item2, amountitem2 = checkPlayerItem(playerid, "ITMW_1H_BAU_MACE");
- if item1 and amountitem1 >= 1 then
- if item2 and amountitem2 >= 1 then
- local x,y,z = GetPlayerPos(playerid);
- 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
- if Player[playerid].kowal == 1 then
- RemoveItem(playerid, "ITMISWORDRAWHOT", 1);
- RemoveItem(playerid, "ITMW_1H_BAU_MACE", 1);
- GiveItem(playerid, "ITMW_1H_VLK_AXE", 1);
- GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- end
- function CRAFT_KUJB4(playerid)
- local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
- local item2, amountitem2 = checkPlayerItem(playerid, "ITMW_1H_BAU_MACE");
- if item1 and amountitem1 >= 1 then
- if item2 and amountitem1 >= 1 then
- local x,y,z = GetPlayerPos(playerid);
- 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
- if Player[playerid].kowal == 1 then
- RemoveItem(playerid, "ITMISWORDRAWHOT", 1);
- RemoveItem(playerid, "ITMW_1H_BAU_MACE", 1);
- GiveItem(playerid, "ITMW_1H_MACE_L_04", 1);
- GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- end
- function CRAFT_KUJB5(playerid)
- local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
- local item2, amountitem2 = checkPlayerItem(playerid, "ITMW_1H_BAU_MACE");
- if item1 and amountitem1 >= 2 then
- if item2 and amountitem1 >= 1 then
- local x,y,z = GetPlayerPos(playerid);
- 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
- if Player[playerid].kowal == 1 then
- RemoveItem(playerid, "ITMISWORDRAWHOT", 2);
- RemoveItem(playerid, "ITMW_1H_BAU_MACE", 1);
- GiveItem(playerid, "ITMW_SENSE", 1);
- GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- end
- function CRAFT_KUJB6(playerid)
- local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
- local item2, amountitem2 = checkPlayerItem(playerid, "ITMW_1H_BAU_MACE");
- if item1 and amountitem1 >= 2 then
- if item2 and amountitem1 >= 2 then
- local x,y,z = GetPlayerPos(playerid);
- 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
- if Player[playerid].kowal == 1 then
- RemoveItem(playerid, "ITMISWORDRAWHOT", 2);
- RemoveItem(playerid, "ITMW_1H_BAU_MACE", 2);
- GiveItem(playerid, "ITMW_2H_AXE_L_01", 1);
- GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- end
- function CRAFT_KUJB7(playerid)
- local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
- if item1 and amountitem1 >= 2 then
- local x,y,z = GetPlayerPos(playerid);
- 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
- if Player[playerid].kowal == 1 then
- RemoveItem(playerid, "ITMI_SWORDRAWHOT", 2);
- GiveItem(playerid, "ITMW_SHORTSWORD3", 1);
- GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- end
- function CRAFT_KUJB8(playerid)
- local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
- local item3, amountitem3 = checkPlayerItem(playerid, "ITAT_SHEEPFUR");
- if item1 and amountitem1 >= 4 then
- if item3 and amountitem3 >= 1 then
- local x,y,z = GetPlayerPos(playerid);
- 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
- if Player[playerid].kowal == 1 then
- RemoveItem(playerid, "ITMISWORDRAWHOT", 4);
- RemoveItem(playerid, "ITAT_SHEEPFUR", 3);
- GiveItem(playerid, "ITMW_1H_VLK_SWORD", 1);
- GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- end
- function CRAFT_KUJB9(playerid)
- local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
- local item3, amountitem3 = checkPlayerItem(playerid, "ITAT_SHEEPFUR");
- if item1 and amountitem1 >= 5 then
- if item3 and amountitem1 >= 1 then
- local x,y,z = GetPlayerPos(playerid);
- 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
- if Player[playerid].kowal == 1 then
- RemoveItem(playerid, "ITMISWORDRAWHOT", 5);
- RemoveItem(playerid, "ITAT_SHEEPFUR", 1);
- GiveItem(playerid, "ITMW_SHORTSWORD5", 1);
- GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- end
- function CRAFT_KUJB10(playerid)
- local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
- local item2, amountitem2 = checkPlayerItem(playerid, "ITMW_1H_BAU_MACE");
- local item3, amountitem3 = checkPlayerItem(playerid, "ITAT_SHEEPFUR");
- if item1 and amountitem1 >= 4 then
- if item2 and amountitem1 >= 4 then
- if item3 and amountitem1 >= 1 then
- local x,y,z = GetPlayerPos(playerid);
- 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
- if Player[playerid].kowal == 1 then
- RemoveItem(playerid, "ITMISWORDRAWHOT", 4);
- RemoveItem(playerid, "ITMW_1H_BAU_MACE", 4);
- RemoveItem(playerid, "ITAT_SHEEPFUR", 1);
- GiveItem(playerid, "ITMW_2H_BAU_AXE", 1);
- GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- end
- function CRAFT_KUJB11(playerid)
- local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
- local item3, amountitem3 = checkPlayerItem(playerid, "ITAT_SHEEPFUR");
- if item1 and amountitem1 >= 6 then
- if item3 and amountitem1 >= 2 then
- local x,y,z = GetPlayerPos(playerid);
- 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
- if Player[playerid].kowal == 1 then
- RemoveItem(playerid, "ITMISWORDRAWHOT", 6);
- RemoveItem(playerid, "ITAT_SHEEPFUR", 2);
- GiveItem(playerid, "ITMW_SCHWERT1", 1);
- GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- end
- function CRAFT_KUJB12(playerid)
- local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
- local item2, amountitem2 = checkPlayerItem(playerid, "ITMW_1H_BAU_MACE");
- local item3, amountitem3 = checkPlayerItem(playerid, "ITAT_SHEEPFUR");
- if item1 and amountitem1 >= 5 then
- if item2 and amountitem1 >= 3 then
- if item3 and amountitem1 >= 2 then
- local x,y,z = GetPlayerPos(playerid);
- 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
- if Player[playerid].kowal == 1 then
- RemoveItem(playerid, "ITMISWORDRAWHOT", 5);
- RemoveItem(playerid, "ITMW_1H_BAU_MACE", 3);
- RemoveItem(playerid, "ITAT_SHEEPFUR", 2);
- GiveItem(playerid, "ITMW_NAGELKEULE2", 1);
- GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- end
- function CRAFT_KUJB13(playerid)
- local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
- local item3, amountitem3 = checkPlayerItem(playerid, "ITAT_SHEEPFUR");
- if item1 and amountitem1 >= 6 then
- if item3 and amountitem1 >= 2 then
- local x,y,z = GetPlayerPos(playerid);
- 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
- if Player[playerid].kowal == 1 then
- RemoveItem(playerid, "ITMISWORDRAWHOT", 6);
- RemoveItem(playerid, "ITAT_SHEEPFUR", 2);
- GiveItem(playerid, "ITMW_ADDON_PIR1HSWORD", 1);
- GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- end
- function CRAFT_KUJB14(playerid)
- local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
- local item3, amountitem3 = checkPlayerItem(playerid, "ITAT_SHEEPFUR");
- if item1 and amountitem1 >= 7 then
- if item3 and amountitem1 >= 2 then
- local x,y,z = GetPlayerPos(playerid);
- 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
- if Player[playerid].kowal == 1 then
- RemoveItem(playerid, "ITMISWORDRAWHOT", 7);
- RemoveItem(playerid, "ITAT_SHEEPFUR", 2);
- GiveItem(playerid, "ITMW_2H_SLD_SWORD", 1);
- GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- end
- function CRAFT_KUJB15(playerid)
- local item1, amountitem1 = checkPlayerItem(playerid, "ITMISWORDRAWHOT");
- local item3, amountitem3 = checkPlayerItem(playerid, "ITAT_SHEEPFUR");
- if item1 and amountitem1 >= 9 then
- if item3 and amountitem1 >= 2 then
- local x,y,z = GetPlayerPos(playerid);
- 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
- if Player[playerid].kowal == 1 then
- RemoveItem(playerid, "ITMISWORDRAWHOT", 9);
- RemoveItem(playerid, "ITAT_SHEEPFUR", 2);
- GiveItem(playerid, "ITMW_SCHWERT", 1);
- GameTextForPlayer(playerid, 2700, 4500,"Udało się.","Font_Old_20_White_Hi.TGA", 0, 200, 0, 3000);
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz uprawnień kowala","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Musisz stać przy kowadle","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- else
- GameTextForPlayer(playerid, 2700, 4500,"Nie masz wystarczająco składników","Font_Old_20_White_Hi.TGA", 250, 0, 0, 3000);
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement