Eros Posted April 1, 2014 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Share Posted April 1, 2014 I need a script that won't allow the player to wear some items in my pvp room. Quote Link to comment Share on other sites More sharing options...
Patskie Posted April 1, 2014 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 6 hours ago Share Posted April 1, 2014 db/pre-re/item_noequip.txt or db/re/item_noequip.txt Quote Link to comment Share on other sites More sharing options...
Eros Posted April 1, 2014 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Author Share Posted April 1, 2014 I need a script Quote Link to comment Share on other sites More sharing options...
Emistry Posted April 2, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted April 2, 2014 setarray .@eq,5011,5001; .@size = getarraysize( .@eq ); for( .@i = 0; .@i < .@size; .@i++ ) if( countitem( .@eq[.@i] ){ mes "You cant take "+getitemname( .@eq[.@i]; close; } warp "prontera",155,181; end; anyway...still have no idea why wouldnt you just pick the better way instead of picking the way done by script which can be bypass by characters Quote Link to comment Share on other sites More sharing options...
Eros Posted April 2, 2014 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Author Share Posted April 2, 2014 Emistry can u give me the full script ? and can you add maps ? like two maps Quote Link to comment Share on other sites More sharing options...
EL Dragon Posted April 2, 2014 Group: Members Topic Count: 86 Topics Per Day: 0.02 Content Count: 591 Reputation: 146 Joined: 06/19/12 Last Seen: December 10, 2016 Share Posted April 2, 2014 - script test -1,{ OnPCLoadMapEvent: getmapxy(.@map$,.@mapx,.@mapy,0); if(.@map$ == "MAP_NAME"){ for(set .@i,0; .@i < getarraysize(.itemcheck); set .@i, .@i + 1){ if(countitem(.itemcheck[.@i])){ dispbottom "You cannot have any "+getitemname(.itemcheck[.@i])+" in your possession on this map."; warp "prontera",200,180; end; } } } end; OnInit: setarray .itemcheck[0],2383,ID,ID; end; } MAP_NAME mapflag loadevent Quote Link to comment Share on other sites More sharing options...
Eros Posted April 4, 2014 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Author Share Posted April 4, 2014 Thx Quote Link to comment Share on other sites More sharing options...
Question
Eros
I need a script that won't allow the player to wear some items in my pvp room.
Link to comment
Share on other sites
6 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.