Jump to content
  • 0

Map close only for GM


Yusry

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  57
  • Reputation:   0
  • Joined:  12/13/16
  • Last Seen:  

Pls need script map only for gm?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  1138
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

Try searching , there is plenty similar scripts available in rathena

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  57
  • Reputation:   0
  • Joined:  12/13/16
  • Last Seen:  

2 hours ago, Cyro said:

Try searching , there is plenty similar scripts available in rathena

Thx 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  152
  • Reputation:   78
  • Joined:  06/13/15
  • Last Seen:  

Here try this, i used this for a while and i edited the coordinates to respawn each the GM and the player into chairs you should check it out

prontera,164,172,4	script	GM Warper	899,{

//Settings
   set .@map$, "sec_in01"; // Change to wherever your gm post is
   set .@mapx, 18; // X coords
   set .@mapy, 92; // Y coords
   set .@gmitem, 6101; // Item required to enter
   set .@mapgm$, "sec_in01"; // Change to wherever your gm post is
   set .@mapgmx, 18; // X coords
   set .@mapgmy, 97; // Y coords
   set .@gmamt, 1; // Ammount required
   if (getgmlevel() < 20) && (countitem(.@gmitem) >= .@gmamt) { goto requested; end; }
   if (getgmlevel() < 20) { goto nongm; end; }
   else { goto gmwarp; end; }

OnInit:
   //waitingroom "GM Outpost",0; // Uncomment to enable a waiting room
   end;

gmwarp:
   warp .@mapgm$,.@mapgmx,.@mapgmy;
   end;

nongm:
   mes "[^0000FFGM Warper^000000]";
   mes "I'm sorry but I can't help you unless you have an Attendance Card.";
   close;
   end;

requested:
   mes "[^0000FFGM Warper^000000]";
   mes "I see you have an Attendance card..";
   next;
   mes "[^0000FFGM Warper^000000]";
   mes "You may go in now.";
   menu "Go in.",goin,"Not now.",notnow;

goin:
   warp .@map$,.@mapx,.@mapy;
   delitem .@gmitem,.@gmamt;
   mapannounce .@map$,strcharinfo(0)+" has entered the GM Outpost upon request.",0;
   end;

notnow:
   next;
   mes "[^0000FFGM Warper^000000]";
   mes "See you next time!";
   close;
   end;

}
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  57
  • Reputation:   0
  • Joined:  12/13/16
  • Last Seen:  

11 minutes ago, Ciel Phantomhive said:

Here try this, i used this for a while and i edited the coordinates to respawn each the GM and the player into chairs you should check it out


prontera,164,172,4	script	GM Warper	899,{

//Settings
   set .@map$, "sec_in01"; // Change to wherever your gm post is
   set .@mapx, 18; // X coords
   set .@mapy, 92; // Y coords
   set .@gmitem, 6101; // Item required to enter
   set .@mapgm$, "sec_in01"; // Change to wherever your gm post is
   set .@mapgmx, 18; // X coords
   set .@mapgmy, 97; // Y coords
   set .@gmamt, 1; // Ammount required
   if (getgmlevel() < 20) && (countitem(.@gmitem) >= .@gmamt) { goto requested; end; }
   if (getgmlevel() < 20) { goto nongm; end; }
   else { goto gmwarp; end; }

OnInit:
   //waitingroom "GM Outpost",0; // Uncomment to enable a waiting room
   end;

gmwarp:
   warp .@mapgm$,.@mapgmx,.@mapgmy;
   end;

nongm:
   mes "[^0000FFGM Warper^000000]";
   mes "I'm sorry but I can't help you unless you have an Attendance Card.";
   close;
   end;

requested:
   mes "[^0000FFGM Warper^000000]";
   mes "I see you have an Attendance card..";
   next;
   mes "[^0000FFGM Warper^000000]";
   mes "You may go in now.";
   menu "Go in.",goin,"Not now.",notnow;

goin:
   warp .@map$,.@mapx,.@mapy;
   delitem .@gmitem,.@gmamt;
   mapannounce .@map$,strcharinfo(0)+" has entered the GM Outpost upon request.",0;
   end;

notnow:
   next;
   mes "[^0000FFGM Warper^000000]";
   mes "See you next time!";
   close;
   end;

}

Why using item for warp that map?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  152
  • Reputation:   78
  • Joined:  06/13/15
  • Last Seen:  

1 minute ago, Yusry said:

Why using item for warp that map?

you can remove it if you want! 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  152
  • Reputation:   78
  • Joined:  06/13/15
  • Last Seen:  

@Yusry

wait you want a map only gm can access it ? no players? 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  57
  • Reputation:   0
  • Joined:  12/13/16
  • Last Seen:  

1 minute ago, Ciel Phantomhive said:

wait you want a map only gm can access it ? no players?

Yes i mean that?

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