Jump to content
  • 0

which line to add @afk.. im confused


Question

2 answers to this question

Recommended Posts

Posted

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>),

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...