karazu Posted April 15, 2012 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 374 Reputation: 5 Joined: 03/09/12 Last Seen: June 19, 2018 Share Posted April 15, 2012 I wato to request a PVP warper NPC that has some restrction on some class like the: PVP MAP 1 all class can enter PVP MAP 2 only the Trans Class can Enter PVP MAP 3 only the 3rd Class can Enter can somebody make me 1? anyone? Quote Link to comment Share on other sites More sharing options...
Nameless2you Posted April 15, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 351 Reputation: 52 Joined: 11/15/11 Last Seen: June 15, 2015 Share Posted April 15, 2012 (edited) Try this: http://upaste.me/386c160ed622f78 Loaded in mapserver and had no errors You still need to add the map names though.. Edited April 15, 2012 by Nameless2you Quote Link to comment Share on other sites More sharing options...
karazu Posted April 16, 2012 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 374 Reputation: 5 Joined: 03/09/12 Last Seen: June 19, 2018 Author Share Posted April 16, 2012 thank man! iwill test it! I tested it but it doesn't block any class like all the job can enter in all the 3 rooms.. present script prontera,150,150,5 script PvP-Warper 99,{ set .@room1$,"guild_vs3"; //Insert map name into quotation marks & adjust to your desire set .@room2$,"pvp_n_6-3"; //Insert map name into quotation marks & adjust to your desire set .@room3$,"pvp_n_7-3"; //Insert map name into quotation marks & adjust to your desire set .@name$,"[PvP Warper]"; //NPC Dialogue name mes .@name$; mes "Hello, I'm the PvP Warper I can warp you to one of the 3 PvP maps available."; mes "Please select one of the warps for me to continue."; switch(select("All Class:Trans Class:3rd Class")){ case 1: warp .@room1$,0,0; end; case 2: if(Class >= 4000 || Class <= 4022){ //Allows any Trans Class, High Novice - Paladin warp .@room2$,0,0; end; } close; case 3: if(Class >= 4054 || Class <= 4087){ //Allows Rune Knight to Mechanic, no matter if they rebirthed before or not warp .@room3$,0,0; end; } close; } } Quote Link to comment Share on other sites More sharing options...
Nameless2you Posted April 16, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 351 Reputation: 52 Joined: 11/15/11 Last Seen: June 15, 2015 Share Posted April 16, 2012 (edited) Try replacing the || with && modified the above url's paste as well to fit the fix Edited April 16, 2012 by Nameless2you Quote Link to comment Share on other sites More sharing options...
karazu Posted April 16, 2012 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 374 Reputation: 5 Joined: 03/09/12 Last Seen: June 19, 2018 Author Share Posted April 16, 2012 its working now thank you! Quote Link to comment Share on other sites More sharing options...
Question
karazu
I wato to request a PVP warper NPC that has some restrction on some class
like the:
PVP MAP 1 all class can enter
PVP MAP 2 only the Trans Class can Enter
PVP MAP 3 only the 3rd Class can Enter
can somebody make me 1?
anyone?
Link to comment
Share on other sites
4 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.