killeryoyo Posted December 15, 2015 Posted December 15, 2015 this is the new one try this. function globalMessage(thePlayer, cmd, ...) local message = table.concat ( { ... }, " " ) local chat = "#FF0000[Local]" local name = getPlayerName(thePlayer) local r,g,b = getPlayerNametagColor ( thePlayer ) -- add outputChatBox("..chat.. "..name..": #ffffff"..message, getRootElement(), r, g, b, true) end addCommandHandler("Local", globalMessage)
1LoL1 Posted December 15, 2015 Posted December 15, 2015 this is the new one try this. function globalMessage(thePlayer, cmd, ...) local message = table.concat ( { ... }, " " ) local chat = "#FF0000[Local]" local name = getPlayerName(thePlayer) local r,g,b = getPlayerNametagColor ( thePlayer ) -- add outputChatBox("..chat.. "..name..": #ffffff"..message, getRootElement(), r, g, b, true) end addCommandHandler("Local", globalMessage) lel why local chat? function globalMessage(thePlayer, cmd, ...) local message = table.concat ( { ... }, " " ) local name = getPlayerName(thePlayer) local r,g,b = getPlayerNametagColor ( thePlayer ) -- add outputChatBox("#FF0000[Local] "..name..": #ffffff"..message, getRootElement(), r, g, b, true) end addCommandHandler("Local", globalMessage)
killeryoyo Posted December 15, 2015 Posted December 15, 2015 function globalMessage(thePlayer, cmd, ...) local message = table.concat ( { ... }, " " ) local chat = "#FF0000[Local]" local name = getPlayerName(thePlayer) local r,g,b = getPlayerNametagColor ( thePlayer ) -- add outputChatBox(chat.."..name.."#ffffff"..message, getRootElement(), r, g, b, true) end addCommandHandler("Local", globalMessage) a new one try this.
//_Dragon Posted December 15, 2015 Author Posted December 15, 2015 this is the new one try this. function globalMessage(thePlayer, cmd, ...) local message = table.concat ( { ... }, " " ) local chat = "#FF0000[Local]" local name = getPlayerName(thePlayer) local r,g,b = getPlayerNametagColor ( thePlayer ) -- add outputChatBox("..chat.. "..name..": #ffffff"..message, getRootElement(), r, g, b, true) end addCommandHandler("Local", globalMessage) Wont worke dude look at the pic http://imgur.com/1kPSpKv Problem in outputchatbox i think
//_Dragon Posted December 15, 2015 Author Posted December 15, 2015 function globalMessage(thePlayer, cmd, ...) local message = table.concat ( { ... }, " " ) local chat = "#FF0000[Local]" local name = getPlayerName(thePlayer) local r,g,b = getPlayerNametagColor ( thePlayer ) -- add outputChatBox(chat.."..name.."#ffffff"..message, getRootElement(), r, g, b, true) end addCommandHandler("Local", globalMessage) a new one try this. Problem in debugscript with '#' or ')'
1LoL1 Posted December 15, 2015 Posted December 15, 2015 this is the new one try this. function globalMessage(thePlayer, cmd, ...) local message = table.concat ( { ... }, " " ) local chat = "#FF0000[Local]" local name = getPlayerName(thePlayer) local r,g,b = getPlayerNametagColor ( thePlayer ) -- add outputChatBox("..chat.. "..name..": #ffffff"..message, getRootElement(), r, g, b, true) end addCommandHandler("Local", globalMessage) Wont worke dude look at the pic http://imgur.com/1kPSpKv Problem in outputchatbox i think This work. function globalMessage(thePlayer, cmd, ...) local message = table.concat ( { ... }, " " ) local name = getPlayerName(thePlayer) local r,g,b = getPlayerNametagColor ( thePlayer ) -- add outputChatBox("#FF0000[Local] "..name..": #ffffff"..message, getRootElement(), r, g, b, true) end addCommandHandler("Local", globalMessage)
1LoL1 Posted December 15, 2015 Posted December 15, 2015 /: DOESNT WORK !!! What doesnt work? i tested in my server and work normally.
//_Dragon Posted December 15, 2015 Author Posted December 15, 2015 /: DOESNT WORK !!! What doesnt work? i tested in my server and work normally. I swear dude tagplayername has same color [local] it's color red Test it & see
killeryoyo Posted December 15, 2015 Posted December 15, 2015 chat = "#FF0000[Local]" function globalMessage(thePlayer, cmd, ...) local message = table.concat ( { ... }, " " ) local name = getPlayerName(thePlayer) local r,g,b = getPlayerNametagColor ( thePlayer ) -- add outputChatBox("..chat.. "..name..": #ffffff"..message, getRootElement(), r, g, b, true) end addCommandHandler("Local", globalMessage) thats the best i have try it .
//_Dragon Posted December 15, 2015 Author Posted December 15, 2015 chat = "#FF0000[Local]" function globalMessage(thePlayer, cmd, ...) local message = table.concat ( { ... }, " " ) local name = getPlayerName(thePlayer) local r,g,b = getPlayerNametagColor ( thePlayer ) -- add outputChatBox("..chat.. "..name..": #ffffff"..message, getRootElement(), r, g, b, true) end addCommandHandler("Local", globalMessage) thats the best i have try it . Lel it's showing in chatbox [ ..chat.. Oussez : Blabla ]
1LoL1 Posted December 15, 2015 Posted December 15, 2015 chat = "#FF0000[Local]" function globalMessage(thePlayer, cmd, ...) local message = table.concat ( { ... }, " " ) local name = getPlayerName(thePlayer) local r,g,b = getPlayerNametagColor ( thePlayer ) -- add outputChatBox("..chat.. "..name..": #ffffff"..message, getRootElement(), r, g, b, true) end addCommandHandler("Local", globalMessage) thats the best i have try it . Stop say bad here.. if you want this chat = "#FF0000[Local] so outputChatBox(""..chat.."" ..name..": #ffffff"..message, getRootElement(), r, g, b, true)
//_Dragon Posted December 15, 2015 Author Posted December 15, 2015 it's showing in chatbox color red : [Local]Oussez :
killeryoyo Posted December 15, 2015 Posted December 15, 2015 it's showing in chatbox color red : [Local]Oussez : to be honest i gave up. i can't solve this. let someone else do it idk why its doing like that. just accept it and do it with one color.
1LoL1 Posted December 15, 2015 Posted December 15, 2015 it's showing in chatbox color red : [Local]Oussez : I get him examples. So now you must only wait if anyone help you. to be honest i gave up. i can't solve this. let someone else do it idk why its doing like that. just accept it and do it with one color. And stop say here if you don't know how can help him.
//_Dragon Posted December 15, 2015 Author Posted December 15, 2015 (edited) to be honest i gave up. i can't solve this. let someone else do it idk why its doing like that. just accept it and do it with one color. Nah dude i want make it like this check this pic http://imgur.com/VSBsjSp color yellow for [local] & other color for getplayernamecolor you see Edited December 15, 2015 by Guest
killeryoyo Posted December 15, 2015 Posted December 15, 2015 Any help ? nope. I guess i did my best, you have to wait someone then.
//_Dragon Posted December 15, 2015 Author Posted December 15, 2015 Any help ? nope. I guess i did my best, you have to wait someone then. Dude thanks for ur all idea but i'll wait someone who can help me
1LoL1 Posted December 15, 2015 Posted December 15, 2015 Any help ? nope. I guess i did my best, you have to wait someone then. Wtf man stop post here if you don't know how you can help him. Your is best hahahaha your code is wrong and is best?
//_Dragon Posted December 15, 2015 Author Posted December 15, 2015 1LoL1 U can fixe this problem ? Plz invite some one who u know him can fixe this
Captain Cody Posted December 15, 2015 Posted December 15, 2015 (edited) Well if you can convert the RGB to hex somehow, then it would be possible. Edit-- Danm did not see there was 4 pages... Woops Edited December 15, 2015 by Guest
//_Dragon Posted December 15, 2015 Author Posted December 15, 2015 Well if you can convert the RGB to hex somehow, then it would be possible. Dude go to my topic only staff can get car i do my script but didn't work go & see it ok ?
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