^#Dream Posted July 16, 2014 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
Et-win Posted July 16, 2014 Posted July 16, 2014 You have to search where the messages get outputted by 'outputChatBox' and add 'true' as last argument. outputChatBox
^#Dream Posted July 16, 2014 Author 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
Et-win Posted July 16, 2014 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.
cheez3d Posted July 16, 2014 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
Et-win Posted July 16, 2014 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?
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