PaqnaN Posted March 20, 2014 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 28 Reputation: 2 Joined: 01/06/14 Last Seen: July 31, 2021 Share Posted March 20, 2014 (edited) i just want to ask if its posible for a specific gm will not be warp out from the castle when the emp is broken? if its posible, can some1 out there help me with this please. Edited March 21, 2014 by PaqnaN Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 21, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted March 21, 2014 try this src/map/script.c#L11520 if(!sd || sd->bl.m != m) return 0; add below if( pc_has_permission(sd, PC_PERM_WARP_ANYWHERE) ) return 0; every user that have this permission will not warped out by the maprespawnguildid you cant really determine if they are GM or not using source since we are now using Group ID.. 1 Quote Link to comment Share on other sites More sharing options...
PaqnaN Posted March 21, 2014 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 28 Reputation: 2 Joined: 01/06/14 Last Seen: July 31, 2021 Author Share Posted March 21, 2014 thank you sir. it works on my rathena server. but can you help me also make this works in my eathena server? thnx in advance Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 21, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted March 21, 2014 if( battle_config.any_warp_GM_min_level < pc_isGM(sd) ) return 0; Quote Link to comment Share on other sites More sharing options...
Question
PaqnaN
i just want to ask if its posible for a specific gm will not be warp out from the castle when the emp is broken?
if its posible, can some1 out there help me with this please.
Edited by PaqnaNLink to comment
Share on other sites
3 answers to this question
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.