Witam, ot?? mam taki problem, gdy? nie sortuje mi wiadomo?ci jednej pod drug?, tylko wszystkie s? na?o?one na siebie, a w outputChatBox wszystko dziala.
Nie pokazuje nic w debugu, w zasadzie wszystko dzia?a tylko po prostu nie jest jedno pod drugim.
Pr?bowa?em te? zamiast "n" u?y? "%a+" te? nic z tego.
addCommandHandler("m",
function (player, cmd, ...) local acc = getAccountName(getPlayerAccount(player))
if isObjectInACLGroup("user."..acc, aclGetGroup("Moderator")) then
local tekst = table.concat(arg," ") outputChatBox(">> "..tekst,getRootElement(),0,255,0) end
end )
addCommandHandler("a",
function (player, cmd, ...) local acc = getAccountName(getPlayerAccount(player))
if isObjectInACLGroup("user."..acc, aclGetGroup("Admin")) then
local tekst = table.concat(arg," ") outputChatBox(">> "..tekst,getRootElement(),0,180,247) end
end )