darking123 Posted July 7, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Share Posted July 7, 2013 i am using 3ceam svn i am requesting for pvproom script 3 in 1(non donator pvp room, donator pvp room, pvp for all) in the script i should add the items that are prohibited to the specific pvp room also what items are only available on a pvp room Quote Link to comment Share on other sites More sharing options...
Stolao Posted July 7, 2013 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: Sunday at 01:58 PM Share Posted July 7, 2013 something like this? (untested) map,x,y,f script name 1,{ mes .Name$; mes "Which Pvp would you like to join?"; switch(select(((#donor)?":Donor":"Non-Donor:")+":Anyone")){ case 1: for(set .@x,0; .@x < getarraysize(Ban_Itm_NonDoner); set .@x,.@x + 1){ if(countitem(Ban_Itm_NonDoner[.@x]){ mes "Please put away your"+ getitemname(Ban_Itm_NonDoner[.@x]) in storage before continuing; close; } } close2; warp "Pvp_1",0,0; break; case 2: for(set .@x,0; .@x < getarraysize(Ban_Itm_Doner); set .@x,.@x + 1){ if(countitem(Ban_Itm_Doner[.@x]){ mes "Please put away your"+ getitemname(Ban_Itm_Doner[.@x]) in storage before continuing; close; } } close2; warp "Pvp_2",0,0; break; case 3: for(set .@x,0; .@x < getarraysize(Ban_Itm_All); set .@x,.@x + 1){ if(countitem(Ban_Itm_All[.@x]){ mes "Please put away your"+ getitemname(Ban_Itm_All[.@x]) in storage before continuing; close; } } close2; warp "Pvp_3",0,0; break; } end; OnInit: set .Name$,"[NPC Name]"; setarray Ban_Itm_NonDoner,512; setarray Ban_Itm_Doner,512; setarray Ban_Itm_All,512; end; } Quote Link to comment Share on other sites More sharing options...
darking123 Posted July 8, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Author Share Posted July 8, 2013 something like this? (untested) map,x,y,f script name 1,{ mes .Name$; mes "Which Pvp would you like to join?"; switch(select(((#donor)?":Donor":"Non-Donor:")+":Anyone")){ case 1: for(set .@x,0; .@x < getarraysize(Ban_Itm_NonDoner); set .@x,.@x + 1){ if(countitem(Ban_Itm_NonDoner[.@x]){ mes "Please put away your"+ getitemname(Ban_Itm_NonDoner[.@x]) in storage before continuing; close; } } close2; warp "Pvp_1",0,0; break; case 2: for(set .@x,0; .@x < getarraysize(Ban_Itm_Doner); set .@x,.@x + 1){ if(countitem(Ban_Itm_Doner[.@x]){ mes "Please put away your"+ getitemname(Ban_Itm_Doner[.@x]) in storage before continuing; close; } } close2; warp "Pvp_2",0,0; break; case 3: for(set .@x,0; .@x < getarraysize(Ban_Itm_All); set .@x,.@x + 1){ if(countitem(Ban_Itm_All[.@x]){ mes "Please put away your"+ getitemname(Ban_Itm_All[.@x]) in storage before continuing; close; } } close2; warp "Pvp_3",0,0; break; } end; OnInit: set .Name$,"[NPC Name]"; setarray Ban_Itm_NonDoner,512; setarray Ban_Itm_Doner,512; setarray Ban_Itm_All,512; end; } i'm gonna try this out but where can i set the items that are prohibited..and does this works in 3ceam svn? Quote Link to comment Share on other sites More sharing options...
Stolao Posted July 8, 2013 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: Sunday at 01:58 PM Share Posted July 8, 2013 (edited) it should. and each pvp room has its own banned items setarray Ban_Itm_NonDoner,512; setarray Ban_Itm_Doner,512; setarray Ban_Itm_All,512; its an array so up to 128 items per room Edited July 8, 2013 by Stolao Quote Link to comment Share on other sites More sharing options...
darking123 Posted July 15, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Author Share Posted July 15, 2013 help Quote Link to comment Share on other sites More sharing options...
darking123 Posted July 16, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Author Share Posted July 16, 2013 bump! Quote Link to comment Share on other sites More sharing options...
Capuche Posted July 16, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted July 16, 2013 This error means your script miss a bracket at line * 7 Quote Link to comment Share on other sites More sharing options...
Question
darking123
i am using 3ceam svn
i am requesting for pvproom script 3 in 1(non donator pvp room, donator pvp room, pvp for all)
in the script i should add the items that are prohibited to the specific pvp room also what items are only available on a 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.