Brynner Posted July 3, 2012 Posted July 3, 2012 how to enable @commands works only if you are inside town. but if youre in the field it will say you cannot use @commands outside the town. Quote
RN1986 Posted July 3, 2012 Posted July 3, 2012 · Hidden by Euphy, July 3, 2012 - No reason given Hidden by Euphy, July 3, 2012 - No reason given hmm
Emistry Posted July 3, 2012 Posted July 3, 2012 try this https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/src/map/atcommand.c change your @command code to this ACMD_FUNC(commands) { nullpo_retr(-1, sd); if ( ![sd->bl.m].flag.town ) { clif_displaymessage(fd, "This command can only use in Town Map"); return -1; } atcommand_commands_sub(sd, fd, COMMAND_ATCOMMAND); return 0; } Quote
Question
Brynner
how to enable @commands works only if you are inside town. but if youre in the field it will say you cannot use @commands outside the town.
4 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.