barai7 Posted September 4, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 1 Reputation: 0 Joined: 07/26/12 Last Seen: September 22, 2012 Share Posted September 4, 2012 (edited) which line to add @afk.... im confused senior please help me ( sorry my noobie english. Edited September 4, 2012 by barai7 Quote Link to comment Share on other sites More sharing options...
naaaan Posted September 4, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 244 Reputation: 11 Joined: 09/02/12 Last Seen: August 7, 2017 Share Posted September 4, 2012 what do you mean? can you clear it? Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 4, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2371 Joined: 10/28/11 Last Seen: Thursday at 03:04 PM Share Posted September 4, 2012 inside here.. https://rathena.svn....map/atcommand.c and there is no specific line where you can post it... you can just find this... ACMD_FUNC(unloadnpcfile) { if( !message || !*message ) { clif_displaymessage(fd, msg_txt(1385)); // Usage: @unloadnpcfile <file name> return -1; } if( npc_unloadfile(message) ) clif_displaymessage(fd, msg_txt(1386)); // File unloaded. Be aware that mapflags and monsters spawned directly are not removed. else { clif_displaymessage(fd, msg_txt(1387)); // File not found. return -1; } return 0; } then put your @AFK code under there...... then find ACMD_DEF(unloadnpcfile), put below.. ACMD_DEF(<afk or whatever>), Quote Link to comment Share on other sites More sharing options...
Question
barai7
which line to add @afk.... im confused
senior please help me
(
sorry my noobie english.
Edited by barai7Link to comment
Share on other sites
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.