i have problem with this script... it makes every1 that saysth say with blue text, i just want 1 person or all ct's have blue txt
my code(i know sth is wron ;) ):
adminList = {myUSGN}
function isAdmin(id)
for _, usgn in ipairs(adminList) do
if player(id,'usgn') == usgn then
return true
end
end
return false
end
addhook([[team]],[[blutxt]])
function blutxt(id,team)
if team == 2 and rp_ct==true then
return(true)
else
return(false)
end
end
addhook([[say]],[[admintxt]])
function admintxt(id,txt)
if isAdmin then
if not blutxt==false then
msg("©000050255"..player(id,"name")..": "..txt)
return 1
else
return 0
end
else
return 0
end
end
end