Hello rathena peeps. I already have working @afk on my server. But i forgot to make a diff out of it so its with my custom src already. But my question is how can i make restriction to @recall / @recallall with people who uses my @afk command?
My @afk command will lets go close your client and your character will remain online. Its basically like all other @afk in the forums. It behaves like @autotrade.
Saw this on my atcommand.c under @recall command
if( pc_setpos(pl_sd, sd->mapindex, sd->bl.x, sd->bl.y, CLR_RESPAWN) == SETPOS_AUTOTRADE ){
clif_displaymessage(fd, msg_txt(sd,1025)); // The player is currently autotrading and cannot be recalled.
This is the restriction when recalling players with autotrade state.
Question
Gidz Cross
Hello rathena peeps. I already have working @afk on my server. But i forgot to make a diff out of it so its with my custom src already. But my question is how can i make restriction to @recall / @recallall with people who uses my @afk command?
My @afk command will lets go close your client and your character will remain online. Its basically like all other @afk in the forums. It behaves like @autotrade.
Saw this on my atcommand.c under @recall command
if( pc_setpos(pl_sd, sd->mapindex, sd->bl.x, sd->bl.y, CLR_RESPAWN) == SETPOS_AUTOTRADE ){ clif_displaymessage(fd, msg_txt(sd,1025)); // The player is currently autotrading and cannot be recalled.
This is the restriction when recalling players with autotrade state.
Can anybody help? Thanks!
Link to comment
Share on other sites
0 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.