hthuong Posted October 20, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 39 Reputation: 0 Joined: 08/09/12 Last Seen: October 2, 2013 Share Posted October 20, 2012 All player can't not use main chat channel unless submit command "@main on" before I want to enable it as default How can i do it? unsigned int mainchat :1; //[LuzZza] Not work? Thanks. Quote Link to comment Share on other sites More sharing options...
EvilPuncker Posted October 20, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Share Posted October 20, 2012 - script mainn -1,{ OnPCLoginEvent: atcommand "@main on"; end } Quote Link to comment Share on other sites More sharing options...
Brian Posted October 20, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted October 20, 2012 Or the source method: http://www.eathena.ws/board/index.php?act=findpost&pid=1446677 open trunk/src/map/pc.c find the function pc_authok and find these lines: pc_setinventorydata(sd); pc_setequipindex(sd); add BEFORE: sd->state.mainchat = 1; Quote Link to comment Share on other sites More sharing options...
Question
hthuong
All player can't not use main chat channel unless submit command "@main on" before
I want to enable it as default
How can i do it?
Not work?
Thanks.
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.