Jump to content
  • 0

Progressbar "green",x; interrupted in PvP make player stuck.


Auryn

Question


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  147
  • Reputation:   1
  • Joined:  01/26/12
  • Last Seen:  

I'm scripting a PvP exit guard.

The problem is when a player uses it to go back in town, is he get hit during the progress bar loading, he gets stuck in script.

I would need to make the script end if player gets hit by another during the progress bar loading.

Here it is :

	   	 case 2:
			mes "[Garde de l'Arène]";
			mes "Veuillez patienter.";
			progressbar "green",5;
			next;
			mes "[Garde de l'Arène]";
			mes "Je vous dirige vers la sortie.";
			sleep2 1250;
			warp "amatsu",112,159;
			break;

Thanks in advance for any help about it.

Edited by Auryn
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

Try this

case 2:
 mes "[Garde de l'Arène]";
 mes "Veuillez patienter.";
 close2;
 progressbar "green",5;
 warp "amatsu",112,159;
 end;
 break;

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...