Meister Posted March 3, 2013 Posted March 3, 2013 How to enable @go command for players in which they can only use @go command if and only if they are at town maps.. Quote
clydelion Posted March 3, 2013 Posted March 3, 2013 Index: atcommand.c =================================================================== --- atcommand.c (revision 17161) +++ atcommand.c (working copy) @@ -1726,7 +1726,10 @@ clif_displaymessage(sd->fd,msg_txt(995)); // You cannot use @go on this map. return 0; } - + if( map[sd->bl.m].flag.town && !pc_has_permission(sd, PC_PERM_WARP_ANYWHERE) ) { + clif_displaymessage(sd->fd,"You can only use @go inside towns."); + return 0; + } memset(map_name, '\0', sizeof(map_name)); memset(atcmd_output, '\0', sizeof(atcmd_output)); 2 Quote
Question
Meister
How to enable @go command for players in which they can only use @go command if and only if they are at town maps..
2 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.