Emistry Posted July 29, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 22 hours ago Share Posted July 29, 2012 (edited) View File Limited Items This script will limit the inventory of player if the player bring exceeded limitation items into the map. For Example : Quote Guild_vs5 can only bring 100 Yggdrasilberry. But player bring 101 Yggdrasilberry into the map, and he/she will be kicked out from the map. etc.... Configuration : // func_Add( <gm_level_to_bypass>, <map_name>, <item1>,<max_amount1>,....,<itemX>,<max_amountX> ); func_Add( 100,"prontera", 501,1,502,2,503,3,504,5 ); func_Add( 100,"payon", 501,1,502,2,503,3,504,5 ); func_Add( 100,"izlude", 501,1,502,2,503,3,504,5 ); func_Add( 100,"prt_fild08", 4001,1,4002,3,4003,0,504,5 ); Positive = Player can only bring Maximum of that amount of items. 0 = Totally Disabled, player cant bring any of it. Submitter Emistry Submitted 07/29/12 Category Utilities Content Author Edited March 5, 2017 by Emistry Update 3 Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 5, 2017 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 22 hours ago Author Share Posted March 5, 2017 [ 5.0 ] - Removed max limit, removed NPC, added atcommand. Quote Link to comment Share on other sites More sharing options...
mirabell Posted March 17, 2017 Group: Members Topic Count: 41 Topics Per Day: 0.01 Content Count: 197 Reputation: 19 Joined: 11/20/11 Last Seen: February 28 Share Posted March 17, 2017 its a nice script but just a suggestion, if it was sql where you make a table and add the items you want to disable on a map would be really nice idea. Quote Link to comment Share on other sites More sharing options...
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.