Brynner Posted July 3, 2012 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1973 Reputation: 207 Joined: 01/08/12 Last Seen: 3 hours ago Share 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 Link to comment Share on other sites More sharing options...
RN1986 Posted July 3, 2012 Group: Members Topic Count: 153 Topics Per Day: 0.03 Content Count: 439 Reputation: 2 Joined: 05/04/12 Last Seen: June 10, 2013 Share Posted July 3, 2012 · Hidden by Euphy, July 3, 2012 - No reason given Hidden by Euphy, July 3, 2012 - No reason given hmm Link to comment
Sharpienero Posted July 3, 2012 Group: Members Topic Count: 32 Topics Per Day: 0.01 Content Count: 386 Reputation: 28 Joined: 01/16/12 Last Seen: January 6, 2023 Share Posted July 3, 2012 You could set mapflags. o-o; Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 3, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2371 Joined: 10/28/11 Last Seen: 8 hours ago Share 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 Link to comment Share on other sites More sharing options...
Brynner Posted July 4, 2012 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1973 Reputation: 207 Joined: 01/08/12 Last Seen: 3 hours ago Author Share Posted July 4, 2012 thanks problem solve. Quote Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.