Jump to content
  • 0
Sign in to follow this  
Break San

How to block certain item on the map

Question

I need to block some item in pvp map, how can I do this in the script .. tried to make it more if the item is equipped normally passes.

 

case 4:if((Class == 24) || (Class == 25) || (Class == 26) || (Class == 4045) || (Class == 4046) || (Class == 4047) || (Class == 4048) || (Class == 4049) || (Class == 4001) || (Class == 4002) || (Class == 4003) || (Class == 4004) || (Class == 4005) || (Class == 4006) || (Class == 4007) || (Class == 4008) || (Class == 4009) || (Class == 4010) || (Class == 4011) || (Class == 4012) || (Class == 4013) || (Class == 4014) || (Class == 4015) || (Class == 4016) || (Class == 4017) || (Class == 4018) || (Class == 4019) || (Class == 4020) || (Class == 4021)){dispbottom "^D20000Desculpe, The input TransClasses and Expanded Classes is prohibited in the Old Times arena.^000000"; close;}else{setarray .@donates[0],607,608,4365,4128,4441,4433,4357,4146,4359,4132,4143,4148,4169,4198,4241,4330,4372,4374,4403,4047,4054,4135,4302,4324,4342,4363,4386,4408,4419,4121,4134,4137,4142,4147,4263,4276,4305,4318,4367,4425,4174,4123,4131,4168,4236,4290,4352,4376,4144,4145,4384,4430;for(set @i,0;@i < getarraysize(.@donates);set @i,@i+1){if(countitem(.@donates[@i]) >= 1){mes .@n$;mes "You can not use some items in this PvP (Fruit of Yggdrasil / Seed of Yggdrasil / Cards MvP's)!";	cutin "",255;close;}

 

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.