no errors and warning on recompile
but the no message shows in client when trying to warp while attacking player
i already added in map msg conf import line 1505
Edit:
had to add int since code only shows canlog_tick
here is the working code
if(!pc_get_group_level(sd)&& DIFF_TICK(gettick(), sd->canlog_tick)<10000){int w_tick =10-(DIFF_TICK(gettick()+500, sd->canlog_tick)/1000);//+500 (0.5s) will make it roundup if needed be
sprintf(atcmd_output, msg_txt(sd,1505), w_tick);//Please wait %d seconds before warping.
clif_displaymessage(fd, atcmd_output);return0;}
Question
chowking
i applied malufetts mod for go warp delay
im trying to get it to show the actual remaining time before the command can be used again
in '@go'
no errors and warning on recompile
but the no message shows in client when trying to warp while attacking player
i already added in map msg conf import line 1505
Edit:
had to add int since code only shows canlog_tick
here is the working code
Show answer
Link to comment
Share on other sites
3 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.