arokken Posted April 18, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 12 Reputation: 0 Joined: 04/01/17 Last Seen: May 7, 2017 Share Posted April 18, 2017 Hello guys, i have a script with specialeffect. i wanna ask, how to disable notification "Your effect has changed" everytime player got effect. Thanks Quote Link to comment Share on other sites More sharing options...
1 Cyro Posted April 18, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted April 18, 2017 src/map/atcommand.c find this and change as your need /*========================================== *@effect *------------------------------------------*/ ACMD_FUNC(effect) { int type = 0, flag = 0; nullpo_retr(-1, sd); if (!message || !*message || sscanf(message, "%11d", &type) < 1) { clif_displaymessage(fd, msg_txt(sd,1152)); // Please enter an effect number (usage: @effect <effect number>). return -1; } clif_specialeffect(&sd->bl, type, (send_target)flag); clif_displaymessage(fd, msg_txt(sd,229)); // Your effect has changed. return 0; } Quote Link to comment Share on other sites More sharing options...
0 crazyarashi Posted April 18, 2017 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: Monday at 01:17 PM Share Posted April 18, 2017 9 minutes ago, arokken said: Hello guys, i have a script with specialeffect. i wanna ask, how to disable notification "Your effect has changed" everytime player got effect. Thanks Can you provide your script so we can help you :)) Quote Link to comment Share on other sites More sharing options...
0 arokken Posted April 18, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 12 Reputation: 0 Joined: 04/01/17 Last Seen: May 7, 2017 Author Share Posted April 18, 2017 3 minutes ago, crazyarashi said: Can you provide your script so we can help you :)) this part on my script atcommand "@effect 1"; like use GM Commands @effect 1, everytime i use this command i got notif "Your effect has changed". can i disable notification? Quote Link to comment Share on other sites More sharing options...
0 arokken Posted April 18, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 12 Reputation: 0 Joined: 04/01/17 Last Seen: May 7, 2017 Author Share Posted April 18, 2017 32 minutes ago, Cyro said: src/map/atcommand.c find this and change as your need /*========================================== *@effect *------------------------------------------*/ ACMD_FUNC(effect) { int type = 0, flag = 0; nullpo_retr(-1, sd); if (!message || !*message || sscanf(message, "%11d", &type) < 1) { clif_displaymessage(fd, msg_txt(sd,1152)); // Please enter an effect number (usage: @effect <effect number>). return -1; } clif_specialeffect(&sd->bl, type, (send_target)flag); clif_displaymessage(fd, msg_txt(sd,229)); // Your effect has changed. return 0; } thanks Cyro! Quote Link to comment Share on other sites More sharing options...
Question
arokken
Hello guys,
i have a script with specialeffect.
i wanna ask, how to disable notification "Your effect has changed" everytime player got effect.
Thanks
Link to comment
Share on other sites
4 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.