Profile Posted March 1, 2019 Posted March 1, 2019 Hi, I would like to alter the @die command so that players cannot use it when they are in a battleground map. Could anyone help me? ACMD_FUNC(kill) { nullpo_retr(-1, sd); status_kill(&sd->bl); clif_displaymessage(sd->fd, msg_txt(sd,13)); // A pity! You've died. if (fd != sd->fd) clif_displaymessage(fd, msg_txt(sd,14)); // Character killed. return 0; } Quote
0 Profile Posted March 10, 2019 Author Posted March 10, 2019 well, I had to do it by bindatcmd. It works fine, but what I really wanted is to change it in src. Quote
Question
Profile
Hi, I would like to alter the @die command so that players cannot use it when they are in a battleground map.
Could anyone help me?
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.