Jump to content

outputChatBox color help !!


QoRaY

Recommended Posts

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 by Guest
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...