How to add announcer for this script(when a players enters the pvp room)
prontera,162,190,4 script PvPWarper651,{
mes .Npc_Name$;
mes "Hello!";switch(select("Free For All PvP:Party PvP:1v1 PvP")){
next;
mes .Npc_Name$;case1:
mes "Goodluck!";
specialeffect2 EF_EARTHSPIKE;
specialeffect2 EF_DEVIL;
specialeffect2 EF_COIN;
specialeffect2 EF_SIGHTRASHER;
sleep2 1000;
warp .Map$[0],0,0;
close;break;case2:if( strcharinfo(1)==""){
mes "You must have a party in order to enter!";
close;}
mes "Goodluck!";
warp .Map$[1],0,0;
specialeffect2 EF_EARTHSPIKE;
specialeffect2 EF_DEVIL;
specialeffect2 EF_COIN;
specialeffect2 EF_SIGHTRASHER;
sleep2 1000;
close;break;case3:if(getmapusers(.Map$[2])>1){
mes "There are people fighting in this map!";
close;}
mes "Goodluck!";
specialeffect2 EF_EARTHSPIKE;
specialeffect2 EF_DEVIL;
specialeffect2 EF_COIN;
specialeffect2 EF_SIGHTRASHER;
sleep2 1000;
warp .Map$[2],0,0;
close;break;}
end;OnInit:.Npc_Name$="[^0000FF "+strnpcinfo(1)+" ^000000]";
setarray .Map$[0],"guild_vs2","guild_vs3","guild_vs1";
end;}//-------exitnpc---free for all
guild_vs2,93,50,3 script PvPExit#0 497,{// ==============================================================set.@n$,"^0000FF[ PvP Exit ]^000000";// ==============================================================
mes .@n$;
mes "PvP exit ??";
next;switch(select("Yes!:No!")){case1:
warp "prontera",156,191;
close;case2:
mes .@n$;
mes "Okay bye!";
close;}}
Question
NakedWolf
How to add announcer for this script(when a players enters the pvp room)
use code box
Link to comment
Share on other sites
2 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.