local playerTeam = getPlayerTeam ( player, team2 )
local teamname = (getTeamName(playerTeam) or "Player")
local team = "#00AAFF"..teamname
Are these 3 lines possible to identify the problem?
thanks for help
local teamname = (getTeamName(playerTeam) or "Player")
Bad argument @ 'getTeamName' [Expected team at argument 1, got boolean]
The code have errors?
--
Sorry bad english, i'm portuguese.