• Announcement:
    In order to download VIP files, you need to UPGRADE your account.

Solved REMOVING HAIR FROM THE CHEST CHARACTER GENDER

Member
Feb
Threads
9
65
27
18
HubMoney
85
Hello; How should I adjust to remove hair according to character and gender when removing hair from the chest quest
Code:
quest sac_ver_kanka begin
    state start begin
        when 50175.use begin
            local secenek = math.random(1,49)
            local sandik = 50175
            local sandikadeti = 1
            local sacadeti = 1
            ----------------------------erkek sa�
             local erkeksac1 = 74001
             local erkeksac2 = 74002
             local erkeksac3 = 74003
             local erkeksac4 = 74004
             local erkeksac5 = 74006
             local erkeksac6 = 74007
             local erkeksac7 = 74009
             local erkeksac8 = 74010
             local erkeksac9 = 74011
             local erkeksac10 = 74012
             local erkeksac11 = 74501
             local erkeksac12 = 74502
             local erkeksac13 = 74504
             local erkeksac14 = 74505
             local erkeksac15 = 74506
             local erkeksac16 = 74507
             local erkeksac17 = 74508
             local erkeksac18 = 74509
             local erkeksac19 = 74510
             local erkeksac20 = 74511
             local erkeksac21 = 74512
             local erkeksac22 = 75201
             local erkeksac23 = 75202
             local erkeksac24 = 75203
             local erkeksac25 = 75204
             local erkeksac26 = 75205
             local erkeksac27 = 75206
             local erkeksac28 = 75207
             local erkeksac29 = 75208
             local erkeksac30 = 75209
             local erkeksac31 = 75210
             local erkeksac32 = 75211
             local erkeksac33 = 75212
             local erkeksac34 = 75601
             local erkeksac35 = 75602
             local erkeksac36 = 75603
             local erkeksac37 = 75604
             local erkeksac38 = 75605
             local erkeksac39 = 75606
             local erkeksac40 = 75607
             local erkeksac41 = 75608
             local erkeksac42 = 75609
             local erkeksac43 = 75610
             local erkeksac44 = 75611
             local erkeksac45 = 75612
            ----------------------------kad�n sa�
             local kadinsac1 = 75001
             local kadinsac2 = 75002
             local kadinsac3 = 75003
             local kadinsac4 = 75004
             local kadinsac5 = 75005
             local kadinsac6 = 75006
             local kadinsac7 = 75007
             local kadinsac8 = 75008
             local kadinsac9 = 75009
             local kadinsac10 = 75010
             local kadinsac11 = 75011
             local kadinsac12 = 75012
             local kadinsac13 = 75013
             local kadinsac14 = 75401
             local kadinsac15 = 75402
             local kadinsac16 = 75403
             local kadinsac17 = 75404
             local kadinsac18 = 75405
             local kadinsac19 = 75406
             local kadinsac20 = 75407
             local kadinsac21 = 75408
             local kadinsac22 = 75409
             local kadinsac23 = 75410
             local kadinsac24 = 75411
             local kadinsac25 = 75412
             local kadinsac26 = 73251
             local kadinsac27 = 73252
             local kadinsac28 = 73253
             local kadinsac29 = 73254
             local kadinsac30 = 73255
             local kadinsac31 = 73256
             local kadinsac32= 73257
             local kadinsac33 = 73258
             local kadinsac34 = 73259
             local kadinsac35 = 73260
             local kadinsac36 = 73261
             local kadinsac37 = 73262
             local kadinsac38 = 74751
             local kadinsac39 = 74752
             local kadinsac40 = 74753
             local kadinsac41 = 74754
             local kadinsac42 = 74755
             local kadinsac43 = 74756
             local kadinsac44 = 74757
             local kadinsac45 = 74758
             local kadinsac46 = 74759
             local kadinsac47 = 74760
             local kadinsac48 = 74761
             local kadinsac49 = 74762
            if pc . countitem ( sandik ) < sandikadeti then
                syschat("|cff00ff00[BUG KONTROL] |cffffff00Yeterli sand�k yok.")
            else
            if pc.get_sex()==0 then
                if secenek == 1 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac1 , sacadeti )
                elseif secenek == 2 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac2 , sacadeti )
                elseif secenek == 3 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac3 , sacadeti )
                elseif secenek == 4 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac4 , sacadeti )
                elseif secenek == 5 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac5 , sacadeti )
                elseif secenek == 6 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac6 , sacadeti )
                elseif secenek == 7 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac7 , sacadeti )
                elseif secenek == 8 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac8 , sacadeti )
                elseif secenek == 9 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac9 , sacadeti )
                elseif secenek == 10 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac10 , sacadeti )
                elseif secenek == 11 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac11 , sacadeti )
                elseif secenek == 12 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac12 , sacadeti )
                elseif secenek == 13 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac13 , sacadeti )
                elseif secenek == 14 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac14 , sacadeti )
                elseif secenek == 15 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac15 , sacadeti )
                elseif secenek == 16 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac16 , sacadeti )
                elseif secenek == 17 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac17 , sacadeti )
                elseif secenek == 18 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac18 , sacadeti )
                elseif secenek == 19 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac19 , sacadeti )
                elseif secenek == 20 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac20 , sacadeti )
                elseif secenek == 21 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac21 , sacadeti )
                elseif secenek == 22 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac22 , sacadeti )
                elseif secenek == 23 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac23 , sacadeti )
                elseif secenek == 24 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac24 , sacadeti )
                elseif secenek == 25 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac25 , sacadeti )
                elseif secenek == 26 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac27 , sacadeti )
                elseif secenek == 27 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac27 , sacadeti )
                elseif secenek == 28 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac28 , sacadeti )
                elseif secenek == 29 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac29 , sacadeti )
                elseif secenek == 30 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac30 , sacadeti )
                elseif secenek == 31 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac31 , sacadeti )
                elseif secenek == 32 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac32 , sacadeti )
                elseif secenek == 33 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac33 , sacadeti )
                elseif secenek == 34 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac34 , sacadeti )
                elseif secenek == 35 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac35 , sacadeti )
                elseif secenek == 36 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac36 , sacadeti )
                elseif secenek == 37 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac37 , sacadeti )
                elseif secenek == 38 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac38 , sacadeti )
                elseif secenek == 39 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac39 , sacadeti )
                elseif secenek == 40 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac40 , sacadeti )
                elseif secenek == 41 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac41 , sacadeti )
                elseif secenek == 44 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac45 , sacadeti )
                elseif secenek == 45 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac45 , sacadeti )
                end
                elseif pc.get_sex()==1 then
                if secenek == 1 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac1 , sacadeti )
                elseif secenek == 2 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac2 , sacadeti )
                elseif secenek == 3 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac3 , sacadeti )
                elseif secenek == 4 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac4 , sacadeti )
                elseif secenek == 5 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac5 , sacadeti )
                elseif secenek == 6 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac6 , sacadeti )
                elseif secenek == 7 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac7 , sacadeti )
                elseif secenek == 8 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac8 , sacadeti )
                elseif secenek == 9 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac9 , sacadeti )
                elseif secenek == 10 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac10 , sacadeti )
                elseif secenek == 11 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac11 , sacadeti )
                elseif secenek == 12 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac12 , sacadeti )
                elseif secenek == 13 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac13 , sacadeti )
                elseif secenek == 14 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac14 , sacadeti )
                elseif secenek == 15 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac15 , sacadeti )
                elseif secenek == 16 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac16 , sacadeti )
                elseif secenek == 17 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac17 , sacadeti )
                elseif secenek == 18 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac18 , sacadeti )
                elseif secenek == 19 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac19 , sacadeti )
                elseif secenek == 20 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac20 , sacadeti )
                elseif secenek == 21 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac21 , sacadeti )
                elseif secenek == 22 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac22 , sacadeti )
                elseif secenek == 23 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac23 , sacadeti )
                elseif secenek == 24 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac24 , sacadeti )
                elseif secenek == 25 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac5 , sacadeti )
                elseif secenek == 26 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac26 , sacadeti )
                elseif secenek == 27 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac27 , sacadeti )
                elseif secenek == 28 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac28 , sacadeti )
                elseif secenek == 29 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac29 , sacadeti )
                elseif secenek == 30 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac30 , sacadeti )
                elseif secenek == 31 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac31 , sacadeti )
                elseif secenek == 32 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac32 , sacadeti )
                elseif secenek == 33 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac33 , sacadeti )
                elseif secenek == 34 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac34 , sacadeti )
                elseif secenek == 35 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac35 , sacadeti )
                elseif secenek == 36 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac36 , sacadeti )
                elseif secenek == 37 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac37 , sacadeti )
                elseif secenek == 38 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac38 , sacadeti )
                elseif secenek == 39 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac39 , sacadeti )
                elseif secenek == 40 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac40 , sacadeti )
                elseif secenek == 41 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac41 , sacadeti )
                elseif secenek == 42 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac42 , sacadeti )
                elseif secenek == 43 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac43 , sacadeti )
                elseif secenek == 44 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac44 , sacadeti )
                elseif secenek == 45 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac45 , sacadeti )
                elseif secenek == 46 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac46 , sacadeti )
                elseif secenek == 47 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac47 , sacadeti )
                elseif secenek == 48 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac48 , sacadeti )
                elseif secenek == 49 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac49 , sacadeti )
                end
            end
        end
    end
end
end
 
Last edited:
Metin2Hub Bot
M2Hub Bot
Feb
Threads
65
1,091
1
412
83
HubMoney
770
Merhaba ; Sandık içinden saç çıkartırken karakter ve cinsiyete göre saç çıkartmak için nasıl ayar çekmeliyim quest
Code:
quest sac_ver_kanka begin
    state start begin
        when 50175.use begin
            local secenek = math.random(1,49)
            local sandik = 50175
            local sandikadeti = 1
            local sacadeti = 1
            ----------------------------erkek sa�
             local erkeksac1 = 74001
             local erkeksac2 = 74002
             local erkeksac3 = 74003
             local erkeksac4 = 74004
             local erkeksac5 = 74006
             local erkeksac6 = 74007
             local erkeksac7 = 74009
             local erkeksac8 = 74010
             local erkeksac9 = 74011
             local erkeksac10 = 74012
             local erkeksac11 = 74501
             local erkeksac12 = 74502
             local erkeksac13 = 74504
             local erkeksac14 = 74505
             local erkeksac15 = 74506
             local erkeksac16 = 74507
             local erkeksac17 = 74508
             local erkeksac18 = 74509
             local erkeksac19 = 74510
             local erkeksac20 = 74511
             local erkeksac21 = 74512
             local erkeksac22 = 75201
             local erkeksac23 = 75202
             local erkeksac24 = 75203
             local erkeksac25 = 75204
             local erkeksac26 = 75205
             local erkeksac27 = 75206
             local erkeksac28 = 75207
             local erkeksac29 = 75208
             local erkeksac30 = 75209
             local erkeksac31 = 75210
             local erkeksac32 = 75211
             local erkeksac33 = 75212
             local erkeksac34 = 75601
             local erkeksac35 = 75602
             local erkeksac36 = 75603
             local erkeksac37 = 75604
             local erkeksac38 = 75605
             local erkeksac39 = 75606
             local erkeksac40 = 75607
             local erkeksac41 = 75608
             local erkeksac42 = 75609
             local erkeksac43 = 75610
             local erkeksac44 = 75611
             local erkeksac45 = 75612
            ----------------------------kad�n sa�
             local kadinsac1 = 75001
             local kadinsac2 = 75002
             local kadinsac3 = 75003
             local kadinsac4 = 75004
             local kadinsac5 = 75005
             local kadinsac6 = 75006
             local kadinsac7 = 75007
             local kadinsac8 = 75008
             local kadinsac9 = 75009
             local kadinsac10 = 75010
             local kadinsac11 = 75011
             local kadinsac12 = 75012
             local kadinsac13 = 75013
             local kadinsac14 = 75401
             local kadinsac15 = 75402
             local kadinsac16 = 75403
             local kadinsac17 = 75404
             local kadinsac18 = 75405
             local kadinsac19 = 75406
             local kadinsac20 = 75407
             local kadinsac21 = 75408
             local kadinsac22 = 75409
             local kadinsac23 = 75410
             local kadinsac24 = 75411
             local kadinsac25 = 75412
             local kadinsac26 = 73251
             local kadinsac27 = 73252
             local kadinsac28 = 73253
             local kadinsac29 = 73254
             local kadinsac30 = 73255
             local kadinsac31 = 73256
             local kadinsac32= 73257
             local kadinsac33 = 73258
             local kadinsac34 = 73259
             local kadinsac35 = 73260
             local kadinsac36 = 73261
             local kadinsac37 = 73262
             local kadinsac38 = 74751
             local kadinsac39 = 74752
             local kadinsac40 = 74753
             local kadinsac41 = 74754
             local kadinsac42 = 74755
             local kadinsac43 = 74756
             local kadinsac44 = 74757
             local kadinsac45 = 74758
             local kadinsac46 = 74759
             local kadinsac47 = 74760
             local kadinsac48 = 74761
             local kadinsac49 = 74762
            if pc . countitem ( sandik ) < sandikadeti then
                syschat("|cff00ff00[BUG KONTROL] |cffffff00Yeterli sand�k yok.")
            else
            if pc.get_sex()==0 then
                if secenek == 1 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac1 , sacadeti )
                elseif secenek == 2 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac2 , sacadeti )
                elseif secenek == 3 then 
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac3 , sacadeti )
                elseif secenek == 4 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac4 , sacadeti )
                elseif secenek == 5 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac5 , sacadeti )
                elseif secenek == 6 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac6 , sacadeti )
                elseif secenek == 7 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac7 , sacadeti )
                elseif secenek == 8 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac8 , sacadeti )
                elseif secenek == 9 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac9 , sacadeti )
                elseif secenek == 10 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac10 , sacadeti )
                elseif secenek == 11 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac11 , sacadeti )
                elseif secenek == 12 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac12 , sacadeti )
                elseif secenek == 13 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac13 , sacadeti )
                elseif secenek == 14 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac14 , sacadeti )
                elseif secenek == 15 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac15 , sacadeti )
                elseif secenek == 16 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac16 , sacadeti )
                elseif secenek == 17 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac17 , sacadeti )
                elseif secenek == 18 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac18 , sacadeti )
                elseif secenek == 19 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac19 , sacadeti )
                elseif secenek == 20 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac20 , sacadeti )
                elseif secenek == 21 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac21 , sacadeti )
                elseif secenek == 22 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac22 , sacadeti )
                elseif secenek == 23 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac23 , sacadeti )
                elseif secenek == 24 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac24 , sacadeti )
                elseif secenek == 25 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac25 , sacadeti )
                elseif secenek == 26 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac27 , sacadeti )
                elseif secenek == 27 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac27 , sacadeti )
                elseif secenek == 28 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac28 , sacadeti )
                elseif secenek == 29 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac29 , sacadeti )
                elseif secenek == 30 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac30 , sacadeti )
                elseif secenek == 31 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac31 , sacadeti )
                elseif secenek == 32 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac32 , sacadeti )
                elseif secenek == 33 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac33 , sacadeti )
                elseif secenek == 34 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac34 , sacadeti )
                elseif secenek == 35 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac35 , sacadeti )
                elseif secenek == 36 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac36 , sacadeti )
                elseif secenek == 37 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac37 , sacadeti )
                elseif secenek == 38 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac38 , sacadeti )
                elseif secenek == 39 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac39 , sacadeti )
                elseif secenek == 40 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac40 , sacadeti )
                elseif secenek == 41 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac41 , sacadeti )
                elseif secenek == 44 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac45 , sacadeti )
                elseif secenek == 45 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( erkeksac45 , sacadeti )
                end
                elseif pc.get_sex()==1 then
                if secenek == 1 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac1 , sacadeti )
                elseif secenek == 2 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac2 , sacadeti )
                elseif secenek == 3 then 
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac3 , sacadeti )
                elseif secenek == 4 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac4 , sacadeti )
                elseif secenek == 5 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac5 , sacadeti )
                elseif secenek == 6 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac6 , sacadeti )
                elseif secenek == 7 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac7 , sacadeti )
                elseif secenek == 8 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac8 , sacadeti )
                elseif secenek == 9 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac9 , sacadeti )
                elseif secenek == 10 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac10 , sacadeti )
                elseif secenek == 11 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac11 , sacadeti )
                elseif secenek == 12 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac12 , sacadeti )
                elseif secenek == 13 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac13 , sacadeti )
                elseif secenek == 14 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac14 , sacadeti )
                elseif secenek == 15 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac15 , sacadeti )
                elseif secenek == 16 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac16 , sacadeti )
                elseif secenek == 17 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac17 , sacadeti )
                elseif secenek == 18 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac18 , sacadeti )
                elseif secenek == 19 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac19 , sacadeti )
                elseif secenek == 20 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac20 , sacadeti )
                elseif secenek == 21 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac21 , sacadeti )
                elseif secenek == 22 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac22 , sacadeti )
                elseif secenek == 23 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac23 , sacadeti )
                elseif secenek == 24 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac24 , sacadeti )
                elseif secenek == 25 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac5 , sacadeti )
                elseif secenek == 26 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac26 , sacadeti )
                elseif secenek == 27 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac27 , sacadeti )
                elseif secenek == 28 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac28 , sacadeti )
                elseif secenek == 29 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac29 , sacadeti )
                elseif secenek == 30 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac30 , sacadeti )
                elseif secenek == 31 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac31 , sacadeti )
                elseif secenek == 32 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac32 , sacadeti )
                elseif secenek == 33 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac33 , sacadeti )
                elseif secenek == 34 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac34 , sacadeti )
                elseif secenek == 35 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac35 , sacadeti )
                elseif secenek == 36 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac36 , sacadeti )
                elseif secenek == 37 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac37 , sacadeti )
                elseif secenek == 38 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac38 , sacadeti )
                elseif secenek == 39 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac39 , sacadeti )
                elseif secenek == 40 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac40 , sacadeti )
                elseif secenek == 41 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac41 , sacadeti )
                elseif secenek == 42 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac42 , sacadeti )
                elseif secenek == 43 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac43 , sacadeti )
                elseif secenek == 44 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac44 , sacadeti )
                elseif secenek == 45 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac45 , sacadeti )
                elseif secenek == 46 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac46 , sacadeti )
                elseif secenek == 47 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac47 , sacadeti )
                elseif secenek == 48 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac48 , sacadeti )
                elseif secenek == 49 then
                    pc . removeitem ( sandik , sandikadeti )
                     pc . give_item2 ( kadinsac49 , sacadeti )
                end
            end
        end
    end
end
end

Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.
 
Member
Jul
Threads
0
36
1
7
8
HubMoney
56
The worst thing i see today :rolleyes:

Perl:
quest sac_ver_kanka begin
    state start begin
        when 50175.use begin
            local secenek = math.random(1,3) -- change it, 3 is just for this example
            local sandik = 50175
            local sandikadeti = 1
            local sacadeti = 1
            
            erkeksac = {74001, 74002, 74003} -- add the other vnum
            kadinsac = {75001, 75002, 75003] -- add the other vnum

            if pc . countitem ( sandik ) < sandikadeti then
                syschat("|cff00ff00[BUG KONTROL] |cffffff00Yeterli sand�k yok.")
            elseif pc.get_sex()==0 then
                pc . removeitem ( sandik , sandikadeti )
                pc . give_item2 ( erkeksac[secenek] , sacadeti )
            elseif pc.get_sex()==1 then
                pc . removeitem ( sandik , sandikadeti )
                pc . give_item2 ( kadinsac[secenek] , sacadeti )
            end
        end
    end
end
 
Metin2Hub New World
Co-Admin
Premium
VIP
Designer
Developer
Apr
Threads
127
733
1,036
93
HubMoney
1,188
The worst thing i see today :rolleyes:

Perl:
quest sac_ver_kanka begin
    state start begin
        when 50175.use begin
            local secenek = math.random(1,3) -- change it, 3 is just for this example
            local sandik = 50175
            local sandikadeti = 1
            local sacadeti = 1
           
            erkeksac = {74001, 74002, 74003} -- add the other vnum
            kadinsac = {75001, 75002, 75003] -- add the other vnum

            if pc . countitem ( sandik ) < sandikadeti then
                syschat("|cff00ff00[BUG KONTROL] |cffffff00Yeterli sand�k yok.")
            elseif pc.get_sex()==0 then
                pc . removeitem ( sandik , sandikadeti )
                pc . give_item2 ( erkeksac[secenek] , sacadeti )
            elseif pc.get_sex()==1 then
                pc . removeitem ( sandik , sandikadeti )
                pc . give_item2 ( kadinsac[secenek] , sacadeti )
            end
        end
    end
end
Nice solution!
 
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock