hthuong Posted October 20, 2012 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
EvilPuncker Posted October 20, 2012 Posted October 20, 2012 - script mainn -1,{ OnPCLoginEvent: atcommand "@main on"; end } Quote
Brian Posted October 20, 2012 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
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.
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.