xbenny2506x Posted July 5, 2009 Share Posted July 5, 2009 Hi I have a Auto- Chat text script: function delayedChat ( text ) outputChatBox ( "I N F O: " .. text, 0, 255, 0 ) end setTimer ( delayedChat, 240000, 0, "Press F1 for see the Spawn Menu! And F1 for close the Menu!" ) setTimer ( delayedChat, 400000, 0, "Use /fix or R for Repair your Vehicle" ) setTimer ( delayedChat, 690000, 0, "Use /flip or M for Flip your Vehicle" ) And i want that the text is not in the normal white. I have test with 0, 255, 0 but the text is in the chat window all the time white. Why?? Link to comment
50p Posted July 5, 2009 Share Posted July 5, 2009 Because 2nd parameter is not the red color but the element who's meant to see the message. Check this line (it send message to all the players, root element): outputChatBox( "I N F O: " .. text, getRootElement(), 0, 255, 0 ) Link to comment
xbenny2506x Posted July 5, 2009 Author Share Posted July 5, 2009 work THX for your help!!!!!!!!! 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