Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: table.concat
1. table.concat / dxDrawText
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.

Czy jest na to inny string?


dxDrawText
(table.concat(wartosc,"n"),784/sc459/sc1137/sc847/sc,tocolor(200,200,200,200),1,bold2,"center","center",false,false,false,true)
2. table.concat

addCommandHandler
("toggle-fisherman", function(plr,cmd, ...)
    
local acc getAccountNamegetPlayerAccount(plr) )
    if 
isObjectInACLGroup"user."..accaclGetGroup("Admin")) then
        
if wlaczony == true then
            local q 
table.concat({...}, " ")



Kod:

DB3: attempt to index upvalue 'table' (a userdata value)


Oczywi?cie to jest wycinek kodu. Wszystko jest tam doko?czone.
3. table.concat
Witam mam b??d ze skryptem ;

addCommandHandler
("m",
    function (
playercmd, ...)
    
local acc getAccountName(getPlayerAccount(player))
        if 
isObjectInACLGroup("user."..accaclGetGroup("Moderator")) then
        local tekst 
table.concat(arg," ")
                
outputChatBox(">> "..tekst,getRootElement(),0,255,0)
         
end
    end
)

addCommandHandler("a",
    function (
playercmd, ...)
    
local acc getAccountName(getPlayerAccount(player))
        if 
isObjectInACLGroup("user."..accaclGetGroup("Admin")) then
        local tekst 
table.concat(arg," ")
                
outputChatBox(">> "..tekst,getRootElement(),0,180,247)
         
end
    end
)


DB3: cos z table. #1 "concat" ( bad argument )