Jump to content
  • 0

warp to 2 specific location


Question

Posted (edited)

prontera,161,183,4 script PvP Warper::pvp#1 808,{
mes "[PvP Warper]";


L_Yes:
mes "[PvP Warper]";
mes "Which PvP Arena do you want to enter?";
menu "Free For All PvP Arena  [" + getmapusers("guild_vs3.gat") + "]",L1,


end;


L1:
if (getmapusers("guild_vs3.gat") > 99) goto Lsorry;
announce "[ "+strcharinfo(0)+" ] has entered to the PvP Arena Room",0,0x81DAF5;
warp "guild_vs3",0,0;
close;



how to make it warp to 2 random place ONLY EITHER  "Guild_vs3 69,30"  or  "guild_vs3 140,40" ONLY?

 


bump


bumppppppp pls help anyone.

Edited by donkeyg

4 answers to this question

Recommended Posts

Posted
if( rand(2) ){
    warp "guild_vs3",69,30;
}else{
    warp "guild_vs3",140,40;
}

Put like this?

 

L1:
if (getmapusers("guild_vs3.gat") > 99) goto Lsorry;
announce "[ "+strcharinfo(0)+" ] has entered to the PvP Arena Room",0,0x81DAF5;
if( rand(2) ){
warp "guild_vs3",69,30;
}else{
warp "guild_vs3",140,40;
}
close;

If i wan 3random location.

 

L1:
if (getmapusers("guild_vs3.gat") > 99) goto Lsorry;
announce "[ "+strcharinfo(0)+" ] has entered to the PvP Arena Room",0,0x81DAF5;
if( rand(3) ){
warp "guild_vs3",69,30;
}else{
warp "guild_vs3",140,40;
}else{
warp "guild_vs3",30,30;
}
close;

Like this? is it correct? 

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...