roukounas123 Posted October 13, 2017 Posted October 13, 2017 Cant any1 tell me how edit auto PM? for expample (PM THE GM AND RECALL AUTO) SAME L2 MXC!!!
0 SamDev-Coder Posted October 24, 2017 Posted October 24, 2017 you didn't mentioned your pack or chronicle but anyway there is a client Packet called Say2 . inside you should find a switch statement which check for message type , in the TELL section [TELL is Private message] you should see before it ends something like if (!receiver.getMessageRefusal()) { receiver.sendPacket(cs); activeChar.sendPacket(new CreatureSay(activeChar.getObjectId(), _type, "->" + receiver.getName(), _text)); } in this part you can check if activeChar is GM or receiver is GM like if(activeChar.isGM()) { receiver.teleToLocation(activeChar.getX(), activeChar.getY(), activeChar.getZ(), true); }
0 Tryskell Posted October 25, 2017 Posted October 25, 2017 A voice or usercommand would avoid to send Say2 packets for nothing.
Question
roukounas123
Cant any1 tell me how edit auto PM? for expample (PM THE GM AND RECALL AUTO) SAME L2 MXC!!!
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now