--Chat czerwony
addCommandHandler("r", function(plr, _, ...)
if ... then
local text = table.concat({...}, " ")
outputChatBox(text, getRootElement(), 255, 0, 0, false)
end
end)
--Chat zielony
addCommandHandler("g", function(plr, _, ...)
if ... then
local text = table.concat({...}, " ")
outputChatBox(text, getRootElement(), 0, 255, 0, false)
end
end)
--Chat niebieski
addCommandHandler("b", function(plr, _, ...)
if ... then
local text = table.concat({...}, " ")
outputChatBox(text, getRootElement(), 0, 0, 255, false)
end
end)