goddameit Posted August 20, 2012 Posted August 20, 2012 (edited) info : http://rathena.org/b...end-only-added/[media=] [/media]download : http://pastebin.com/....php?i=FiEWLR3x - MODIFY VERSION : http://rathena.org/board/topic/79145-select-a-friend-to-warp/ http://rathena.org/board/topic/79145-select-a-friend-to-warp/?p=181932 Edited February 23, 2013 by goddameit 4 Quote
Raikumi Posted August 22, 2012 Posted August 22, 2012 What map is this? Sorry for the double post, what if your friend is in a competing WoE guild? Quote
goddameit Posted August 25, 2012 Author Posted August 25, 2012 What map is this? Sorry for the double post, what if your friend is in a competing WoE guild? then you warp to there Quote
rainz89 Posted August 29, 2012 Posted August 29, 2012 Can you somehow edit it or add a function where it check the map of the player, and if it's on a certain map, it will not allow the player to warp to his friend? Example, WoE, PvP. GvG, battleground, Special rooms. Quote
Emistry Posted August 29, 2012 Posted August 29, 2012 try this getmapxy(@m$,@x,@y,0,rid2name(@aid[@menu])); if( getmapflag(@m$,mf_pvp) || @m$ == "mapname" || @m$ == "mapname" ){ mes "You cant warp to his map now."; }else{ warp @m$,@x,@y; } Quote
rainz89 Posted August 29, 2012 Posted August 29, 2012 (edited) Thanks, but. all I have to do is to change is the map name like this? getmapxy(@m$,@x,@y,0,rid2name(@aid[@menu])); if( getmapflag(@m$,mf_pvp) || @m$ == "prtg_cas01" || @m$ == "prtg_cas02" ){ mes "You cant warp to his map now."; }else{ warp @m$,@x,@y; } Or was I missing something? Edited August 29, 2012 by rainz89 Quote
eJay Posted September 5, 2012 Posted September 5, 2012 Nice script but how to avoid when your friends is in event? like dice lms poring cather and etc. example when dice event is starting,, the mapflag quiz_01 mapflag nowarpto why using @warp can't enter then using this npc can enter,, O.o my point is how to avoid the player can't enter during event. Quote
nanakiwurtz Posted September 5, 2012 Posted September 5, 2012 I saw goddameit too on eA, is that the same person? And also nice script, thanks for sharing Quote
caspa Posted February 21, 2013 Posted February 21, 2013 info : http://rathena.org/b...end-only-added/ [media=] [/media]download : http://pastebin.com/....php?i=FiEWLR3x Sir how can i make this script display all the current friends on the menu and not just the current online one... like if click the warp to friend npc it would display all the friend i have then the online would be green while the offline will be red. after that i click the red one, it would tell me "the player is not online" while if i click the green one "i would be warp to where the player is." also if i dont have any friend it would say you dont have any friend and not display a blank menu....... thank you. Quote
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.