^#Dream Posted July 16, 2014 Share Posted July 16, 2014 Hello Guy's i want to know how to allow Hex Codes ? Like This #FF0000$player has been muted#777777$by_admin_4all. $data2 Link to comment
Et-win Posted July 16, 2014 Share Posted July 16, 2014 You have to search where the messages get outputted by 'outputChatBox' and add 'true' as last argument. outputChatBox Link to comment
^#Dream Posted July 16, 2014 Author Share Posted July 16, 2014 it didn't work local r, g, b = node["r"], node["g"], node["b"] if ( node["all"] ) then outputChatBox ( aStripString ( node["all"] ), _root, r, g, b,true ) end if ( node["admin"] ) and ( admin ~= player ) then outputChatBox ( aStripString ( node["admin"] ), admin, r, g, b,true ) end if ( node["player"] ) then outputChatBox ( aStripString ( node["player"] ), player, r, g, b,true ) end Link to comment
Et-win Posted July 16, 2014 Share Posted July 16, 2014 I have no idea then. Or you have the wrong line in the script, or Idk what else. Maybe someone can tell you exactly where to put it/to make it working. Link to comment
cheez3d Posted July 16, 2014 Share Posted July 16, 2014 He is talking about XML, I guess. Use CDATA instead of PCDATA. <all><![CDATA[#FF0000$player has been muted#777777$by_admin_4all. $data2]]></all> http://www.w3schools.com/xml/xml_cdata.asp Link to comment
Et-win Posted July 16, 2014 Share Posted July 16, 2014 He is talking about XML, I guess. Use CDATA instead of PCDATA. <all><![CDATA[#FF0000$player has been muted#777777$by_admin_4all. $data2]]></all> http://www.w3schools.com/xml/xml_cdata.asp You know that he is talking about the 'messages.xml' file in Admin Panel right? Link to comment
Et-win Posted July 16, 2014 Share Posted July 16, 2014 Yes i know I was talking to Cheez3D. Link to comment
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