Premium Necro 80 Posted April 18, 2015 Premium Share Posted April 18, 2015 Hi, i would like make a quest which give player more then 200items. So do you know someone how write it? Because when i use pc.give_item, system give only 200 items. and i cant write quest like that: pc.give_item("27001", 200) pc.give_item("27001", 200) pc.give_item("27001", 200) pc.give_item("27001", 200) Because i need give 10.000 items. Thanks anyway Link to comment Share on other sites More sharing options...
fenixplayscz 16 Posted April 18, 2015 Share Posted April 18, 2015 Edit in source max stack items to 10.000 and use pc.give_item("27001", 10000) Link to comment Share on other sites More sharing options...
Premium Necro 80 Posted April 18, 2015 Author Premium Share Posted April 18, 2015 r34k in use. Link to comment Share on other sites More sharing options...
FakedMan 14 Posted April 18, 2015 Share Posted April 18, 2015 Your sign say you are a lua dev and you don't know that ? xD Just make a loop Link to comment Share on other sites More sharing options...
Premium Necro 80 Posted April 18, 2015 Author Premium Share Posted April 18, 2015 Your sign say you are a lua dev and you don't know that ? xD Just make a loop Thanks for your very helpfull information. Link to comment Share on other sites More sharing options...
Premium V0iĐ 115 Posted April 18, 2015 Premium Share Posted April 18, 2015 Try this: quest asd begin state start begin when NPCVnum.chat."I give you 10k item!..(woooooohooo)" begin say"Do you want 10k item?" local s = select("Yes", "No") if s == 1 then if pc.get_empty_inventory_count() >= 50 then for i=1, 50 do pc.give_item2(27001, 200) end else say("You need 50 empty slot in inventory!") end else say("See you later!") end end end It's give you 10k (50*200) item, if you have 50 empty slot in inventory! (theoretically ) 1 Link to comment Share on other sites More sharing options...
Premium Necro 80 Posted April 18, 2015 Author Premium Share Posted April 18, 2015 It's give you 10k (50*200) item, if you have 50 empty slot in inventory! (theoretically ) Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now