barai7 Posted September 4, 2012 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
Emistry Posted September 4, 2012 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
Question
barai7
which line to add @afk.... im confused
senior please help me
(
sorry my noobie english.
Edited by barai72 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.