ooGubAoo Posted November 1, 2023 Posted November 1, 2023 Quote - script Freeitem FAKE_NPC,{ OnInit: .min_lvl = 70; .item_id = 501; .amount = 1; .item_name = getitemname(.item_id); end; OnClock0000: addrid(0); if(BaseLevel < .min_lvl) end; getitem(.item_id, .amount); message(strcharinfo(0), "ท่านได้ของรางวัลเป็น " + .@item_name$ + "."); } Can i fix map Izlude to get item? I must add what to fix map. Thank you to help. Quote
0 Rynbef Posted November 1, 2023 Posted November 1, 2023 In the script is nothing depends on izlude. Walk through: OnClock loop throw every online player. Attach them and check the map of the player and give them an item. Rynbef~ Quote
0 ooGubAoo Posted November 3, 2023 Author Posted November 3, 2023 On 11/1/2023 at 6:26 PM, Rynbef said: In the script is nothing depends on izlude. Walk through: OnClock loop throw every online player. Attach them and check the map of the player and give them an item. Rynbef~ How to change can get item in map izlude Quote
0 Winterfox Posted November 3, 2023 Posted November 3, 2023 - script Freeitem FAKE_NPC,{ OnInit: .min_lvl = 70; .required_map$ = "izlude"; .item_id = 501; .amount = 1; .item_name = getitemname(.item_id); end; OnClock0000: addrid(0); getmapxy(.@current_map$, .@x, .@y); if(BaseLevel < .min_lvl || .@current_map$ != .required_map$) end; getitem(.item_id, .amount); message(strcharinfo(0), "ท่านได้ของรางวัลเป็น " + .@item_name$ + "."); } 1 Quote
0 ooGubAoo Posted November 7, 2023 Author Posted November 7, 2023 On 11/3/2023 at 7:12 PM, Winterfox said: - script Freeitem FAKE_NPC,{ OnInit: .min_lvl = 70; .required_map$ = "izlude"; .item_id = 501; .amount = 1; .item_name = getitemname(.item_id); end; OnClock0000: addrid(0); getmapxy(.@current_map$, .@x, .@y); if(BaseLevel < .min_lvl || .@current_map$ != .required_map$) end; getitem(.item_id, .amount); message(strcharinfo(0), "ท่านได้ของรางวัลเป็น " + .@item_name$ + "."); } Thank You very much. Thank to help every time. Quote
0 Emistry Posted January 23, 2024 Posted January 23, 2024 addrid(0); change to addrid(5, 0, "izlude"); Quote
Question
ooGubAoo
Can i fix map Izlude to get item?
I must add what to fix map.
Thank you to help.
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.