Jump to content

outputChatBox problem


JuniorMelo

Recommended Posts

Hello

I have a bug in a script, I can not put color team name

local pTeam = getPlayerTeam( hitElement ) 
       local iR, iG, iB = getTeamColor( pTeam ) 
       outputChatBox ( '#ff4444[GANG] #ffffff' .. getTeamName( getTeamColor( pTeam ) ) .. ' #ff4444Esta atacando o territorio#ffffff ' .. Territorio .. ' #ff4444Da gang #ffffff' .. equipe , getRootElement(), 255, 255, 255,true ) 

line 55

outputChatBox ( '#ff4444[GANG] #ffffff' .. getTeamName( getTeamColor( pTeam ) ) .. ' #ff4444Esta atacando o territorio#ffffff ' .. Territorio .. ' #ff4444Da gang #ffffff' .. equipe , getRootElement(), 255, 255, 255,true ) 

mta-screen_2013-10-06_17-10-28.png

Link to comment
Did you get it working?
outputChatBox ( '#ff4444[GANG] #ffffff' .. RGBToHex(iR, iG, iB) .. '' .. getTeamName(pTeam) .. ' #ff4444Esta atacando o territorio#ffffff ' .. territorio .. ' #ff4444Da gang #ffffff' .. RGBToHex(rR,gG,bB) .. '' .. equipe , getRootElement(), 255, 255, 255,true ) 

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...