Profile Posted March 1, 2019 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 77 Reputation: 1 Joined: 04/15/17 Last Seen: January 4, 2021 Share 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 Link to comment Share on other sites More sharing options...
0 ChokituBR Posted March 8, 2019 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 43 Reputation: 1 Joined: 11/16/14 Last Seen: February 19 Share Posted March 8, 2019 Maybe bindatcmd? Quote Link to comment Share on other sites More sharing options...
0 Profile Posted March 10, 2019 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 77 Reputation: 1 Joined: 04/15/17 Last Seen: January 4, 2021 Author Share 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 Link to comment Share on other sites More sharing options...
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?
Link to comment
Share on other sites
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.