QoRaY Posted January 29, 2013 Share Posted January 29, 2013 (edited) Color does not seem to. Help please... function allPlayersPayDay() local allPlayers = getElementsByType("player") for index,value in ipairs(allPlayers) do givePlayerMoney ( value, 100 ) outputChatBox ( "#FF0000Hello #00FF00World", value ) end end function onResourceStart(thisResource) setTimer ( allPlayersPayDay, 10000, 0 ) end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), onResourceStart ) Edited January 29, 2013 by Guest Link to comment
denny199 Posted January 29, 2013 Share Posted January 29, 2013 Chek the arguments.. outputChatBox ( string text [, element visibleTo=getRootElement(), int r=231, int g=217, int b=176, bool colorCoded=false ] ) So,: outputChatBox ( "#FF0000Hello #00FF00World", value, 255,0,0,true ) Link to comment
Malicious Hero. Posted January 29, 2013 Share Posted January 29, 2013 You have to set the color coded parameter to true. Read the wiki page on outputChatBox for more information: https://wiki.multitheftauto.com/wiki/OutputChatBox Link to comment
QoRaY Posted January 29, 2013 Author Share Posted January 29, 2013 Thank You Very Much. 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