Jump to content
  • 0
Sign in to follow this  
Pandaaa

PvP for Assassins, LK Jobs only

Question

heres the script but dont know how to use the if (class ==  things to make it work

 

warcraft,199,186,5	script	Unknown Thief	4_F_JOB_ASSASSIN,{
if(agitcheck() || agitcheck2()){
mes "[ Unknown Thief ]";
mes "Sorry, You cannot Enter during ^00CC00War of Emperium^000000";
mes "Come back later, Thank You";
close;
}
else{
if(Class == Job_Assassin){
mes "[ Unknown Thief ]";
mes "You must be a ^00CC00Assassin Cross^000000 to enter this arena.";
mes "Which one you wanna enter?";
next;
menu "Legggoo! ["+getmapusers("guild_vs3")+"]:",rass;

rass:
announce "[ Unknown Thief ] "+strcharinfo(0)+" has entered in SinX Battle Arena!!",0,0x00CC99;
warp "guild_vs3",0,0;
end;

} else {
mes "[ Unknown Thief ]";
mes "Sorry, You cannot Enter the arena";
mes "You must be an assassin to enter this arena, Thank You";
close;
}

OnInit:
	waitingroom "Battle Arena",0;
	end;

}
}
guild_vs3	mapflag	pvp
guild_vs3	mapflag	nowarp
guild_vs3	mapflag	nowarpto
guild_vs3	mapflag	noreturn
guild_vs3	mapflag	nosave
guild_vs3	mapflag	pvp_noguild
guild_vs3	mapflag	pvp_noparty
guild_vs3	mapflag	nobranch
guild_vs3	mapflag	noicewall

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
Guest

This line says: Assassins or Knights are allowed. 

if(Class == Job_Assassin || Class == Job_Knight){

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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