You combine this
Quote:
Originally Posted by iceeedr
PHP Code:
new TranslatedMessage[164]
formatex(TranslatedMessage, charsmax(TranslatedMessage), "%L", LANG_PLAYER, "yourmessagename", szUserName , szAuthID)
|
and this
Quote:
Originally Posted by OciXCrom
You would use the player's index instead of LANG_PLAYER.
|
(though you'd need to change "TranslatedMessage" to "szMessage" if you want it to fit into the exiting code)
Don't make things hard on yourself by trying to add color into it before you get the multi-lingual stuff working. Once you get this working you can easily replace the message_begin/message_end part with any custom client_print() like color chat.
__________________