Jump to content
  • 0

Edit this PVP Room script to Announce when a player is killed please


Raikumi

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   0
  • Joined:  06/28/12
  • Last Seen:  

prontera,155,181,5 script Sample 757,{

mes "Go in PVP Room ?";

if( select("Yes:No") == 1 ){

warp "guild_vs5",0,0;

announce "[ "+strcharinfo(0)+" ] has joined PVP.",0;

}

close;

OnInit:

while( 1 ){

delwaitingroom;

waitingroom "Users : "+getmapusers("guild_vs5"),0;

sleep 1000;

}

end;

}

Can someone add a function to this script so when a player kills someone it announces it inside the pvp room only?

Also, can an option be added to go to a 1v1 PvP room? When 2 people are on the map, this room can not be entered, also this room should have a timer so people dont just go in there and prevent others from playing? The name of this map would be "final_dest" its a custom map which is already implented into our server. The announcement effect can or cannot be added to this map, it doesnt matter.

Thank you very much!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  183
  • Reputation:   15
  • Joined:  06/10/12
  • Last Seen:  

prontera,155,181,5<tab>script<tab>Sample<tab>757,{

mes "Go in PVP Room ?";

if( select("Yes:No") == 2 ) close;

warp "guild_vs5",0,0;

announce "[ "+strcharinfo(0)+" ] has joined PVP.",0;

end;

OnInit:

while(1){

delwaitingroom;

waitingroom "Users : "+getmapusers("guild_vs5"),0;

sleep 1000;

}

end;

OnPCKillEvent:

if(strcharinfo(3) == "guild_vs5"){

announce strcharinfo(0)+" killed "+killedrid+"!",8;

end;

}

try

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...