Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2017-08-29, 12:16


Qbik1337







Wiek: 30
Na forum: 3207 dni
Posty: 18
Nick w MP: Danio

Piwa: 133

Respekt: 50

Witam mam problem ot?? mam paczke GoYd i dodalem sie do bazy danych SQL "Duty administracji" Jednak jak restartuje skrypt to nie jak wpisuje duty to dalej mi pisze "nie jestes w ekipie serwera" Prosze o pomoc :D



function jestRCONem(gracz)
if getElementData(gracz"duty") == 3 then return true end
end


function jestADMINem(gracz)
if getElementData(gracz"duty") == 2 then return true end
end


function jestModem(gracz)
if getElementData(gracz"duty") == 1 then return true end
end

addCommandHandler("admins", function(gracz,cmd)
    admini = {}
    rconi = {}
    moderatorzy = {}
            for k,v in ipairs(getElementsByType("player")) do
                if jestRCONem(vthen
                    table.insert(rconigetPlayerName(v))
                    elseif jestModem (vthen
                    table.insert(moderatorzygetPlayerName(v))
                    elseif jestADMINem(vthen
                    table.insert(adminigetPlayerName(v))
                end
             end
    for i=0,do
    outputChatBox(" "gracz)
    end
    outputChatBox("* Dost?pni RCON'i:"gracz25500)
        if #rconi > 0 then
            outputChatBox(table.concat(rconi", "), gracz)
        else
            outputChatBox("brak"gracz)
        end
    outputChatBox(" "gracz)
    outputChatBox("* Dost?pni administratorzy:"gracz0100255)
        if #admini > 0 then
            outputChatBox(table.concat(admini", "), gracz)
        else
            outputChatBox("brak"gracz)
        end
    outputChatBox(" "gracz)
    outputChatBox("* Dost?pni moderatorzy:"gracz02550)
        if #moderatorzy > 0 then
            outputChatBox(table.concat(moderatorzy", "), gracz)
        else
            outputChatBox("brak"gracz)
        end
    outputServerLog(getPlayerName(gracz).." sprawdza list? dost?pnych cz?onk?w ekipy.")
end
)

-- Ustawienia SQL
addEventHandler("onResourceStart"resourceRoot, function()
    db dbConnect("sqlite""da.db") -- Po??czenie z serwerem SQL
        if db then
        outputDebugString("Po??czono z baz? SQL duty administracji")
        end
end)

-- Reszta zasobu
addCommandHandler("duty", function(plr,cmd)
    local q dbQuery(db"SELECT level FROM admins WHERE login=?"getAccountName(getPlayerAccount(plr)))
    local w dbPoll(q, -1)
    if and #w > 0 then
        if not getElementData(plr"duty"then
            if w[1].level == 1 then -- Je?eli kolumna 'level' ma warto?? 1 to nadajemy rangmoderatora.
                setElementData(plr"duty"1)
                outputChatBox("Logujesz si? na duty moderatora."plr)
            elseif w[1].level == 2 then -- Je?eli kolumna 'level' ma warto?? 2 to nadajemy rangadministratora.
                setElementData(plr"duty"2)
                outputChatBox("Loguejsz si? na duty administratora."plr)
            elseif w[1].level == 3 then -- Je?eli kolumna 'level' ma warto?? 3 to nadajemy rangadministratora RCON.
                setElementData(plr"duty"3)
                outputChatBox("Logujesz si? na duty administratora RCON."plr)
            end
        else
            removeElementData(plr"duty")
            outputChatBox("Wylogowujesz si? z duty."plr)
        end
    else
        outputChatBox("Nie jeste? w ekipie serwera."plr)
    end
end)



addCommandHandler('e', function(plr,cmd, ...)
    if not (...) then return end
    local ranga nil
    local msg=table.concat({...}, " ")
    if getElementData(plr"duty") == 3 then
        ranga "RCON"
    end
    if getElementData(plr"duty") == 2 then
        ranga "ADM"
    end
    if getElementData(plr"duty") == 1 then
        ranga "MOD"
    end
    for _p in pairs(getElementsByType('player')) do
        if getElementData(p"duty"then
            outputChatBox("[CE] "..getPlayerName(plr).." ("..tonumber(getElementData(plr,"id"))..") ".."["..ranga.."]: "..msg,p,255,1700,true)
        end
    end
end)

--[[
    Informacje:
    Aby zas?b dzia?apoprawniemusisz dodatabel? do MySQL z nazw'admins' (bez apostrof?wz kolumnami: 
    serial typ VARCHAR d?ugo?? 255
    levle typ INT d?ugo?? 1
    
    Aby dodagracza do administracjidodaj do MySQL serial gracza oraz level
    Level 1 Moderator
    Level 2 Administrator
    Level 3 Administrator RCON
    
    Aby pobraranggracza przy nprobieniu komend:
    
    aby sprawdzi?, czy gracz jest moderatorem wpisujemy:
        if getElementData(plr"duty") == 1 then
            Reszta Twojego kodu.
        end
    aby sprawdzi?, czy gracz jest administratorem wpisujemy:
        if getElementData(plr"duty") == 2 then
            Reszta Twojego kodu.
        end
    aby sprawdzi?, czy gracz jest administratorem RCON wpisujemy:
        if getElementData(plr"duty") == 3 then
            Reszta Twojego kodu
        end
]]--

--Komedndy  Chat

addCommandHandler("r", function(plrcmd, ...)
       if getElementData(plr"duty") == 3 then
        local text table.concat(arg" ")
        name getPlayerName(plr)
        outputChatBox("R > "..text.." ~ "..getPlayerName(plr).."."getRootElement(), 25500true)
    end
end)


addCommandHandler("a", function(plrcmd, ...)
    if getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
        local text table.concat(arg" ")
        name getPlayerName(plr)
        outputChatBox("A > "..text.." ~ "..getPlayerName(plr).."."getRootElement(), 0100255true)
    end
end)

addCommandHandler("m", function(plrcmd, ...)
    if getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
        local text table.concat(arg" ")
        name getPlayerName(plr)
        outputChatBox("M > "..text.." ~ "..getPlayerName(plr).."."getRootElement(), 722550true)
    end
end)

--- d?u?ej
addCommandHandler("p", function(plrcmdmodel)
     if getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
        
        local dim getElementDimension(plr)
        local x,y,getElementPosition(plr)
        local r1,r2,r3 getElementRotation(plr)
        local model getVehicleModelFromName(model)
        
        
          if not tostring(modelthen
            outputChatBox("* Nie wpisa?e?(a?) modelu pojazdu."plr)
            return
          end
    
     
        
        if getPedOccupiedVehicle(plrthen
            setElementModel(getPedOccupiedVehicle(plr), model)
        else
            local pojazd createVehicle(modelxyzr1r2r3)
            warpPedIntoVehicle(plrpojazd)
            setElementDimension(pojazddim)
            setVehicleColor(pojazd002)
            ---setElementData(pojazd,"vehicle:fuel",100)
            setVehiclePlateText(pojazd,"RESPIONE")
        end
        
    end
end)

--[[addCommandHandler("daj.rep", function(plr,cmd,cel,value)
     if getElementData(plr"duty") == 3 then
        if not cel or not tonumber(valuethen
            outputChatBox("* U?ycie: /daj.rep <nick/ID> <ilosc>"plr)
            return
        end
        local targetfindPlayer(plr,cel)
        if not target then
            outputChatBox("* Nie znaleziono podanego gracza."plr25500)
            return
        end
        setElementData(target,"Reputacja"getElementData(target,"Reputacja")+value)
        outputChatBox("* Otrzyma?e?(a?)  "..value.." Reputacji!"target)
    end
    end
end)


]]
addCommandHandler("destroy", function(plrcmdmodel)
   if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
    
    local pojazd getVehicleOccupant(source)
    if not pojazd then return end
    
    destroyElement(pojazd)
  end
end)

addCommandHandler("jp", function(plr,cmd)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
        if isPedInVehicle(plrthen
            removePedFromVehicle(plr)
        end
        if doesPedHaveJetPack(plrthen
            removePedJetPack(plr)
        else
            givePedJetPack(plr)
        end
    end
end)


addCommandHandler("dim", function(plrcmdvalue)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
        if (not valuethen
            outputChatBox("U?yj: /dim <numer>"plr)
            return
        end
        
        setElementDimension(plrvalue)
    end
end)

addCommandHandler("thv", function(plrcmdvid)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
    if not tonumber(vidthen return end
    for i,v in ipairs(getElementsByType("vehicle")) do
    if getElementData(v"car_id") == tonumber(vidthen
                local x,y,getElementPosition(plr)
                setElementFrozen(vfalse)
                warpPedIntoVehicle(plrv)
                setElementPosition(vx,y,z)
                setElementInterior(vgetElementInterior(plr))
                setElementDimension(vgetElementDimension(plr))
                return
            end
          end
         end
         outputChatBox("* Nie posiadasz uprawnie? do u?ywania tej komendy, b?d? nie znaleziono auta o podanym ID!"plr25500)
    end)

addCommandHandler("inv", function(plr)
        if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
        if getElementAlpha(plr) > 0 then
            setElementAlpha(plr,0)
        setPlayerNametagShowing(plrfalse)
        else
            setElementAlpha(plr,255)
        setPlayerNametagShowing(plrtrue)
        end
    end
end)



function getPointFromDistanceRotation(x,y,dist,angle)
    local a=math.rad(90-angle);
    local dx=math.cos(a) * dist;
    local dy=math.sin(a) * dist;
    return x+dxy+dy;
end

addCommandHandler("ustaw.klatke", function(plr)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
        local x,y,z=getElementPosition(plr)
        local dim=getElementDimension(plr)
        local int=getElementInterior(plr)

        local object=createObject(971x,y,z-0.92700180)
        setElementData(object,"owner",getPlayerName(plr))
        setElementDimension(object,dim)
        setElementInterior(object,int)

        local object=createObject(971x,y,z+62700180)
        setElementData(object,"owner",getPlayerName(plr))
        setElementDimension(object,dim)
        setElementInterior(object,int)

        local object=createObject(971x,y+3.5,z+2.5000)
        setElementData(object,"owner",getPlayerName(plr))
        setElementDimension(object,dim)
        setElementInterior(object,int)

        local object=createObject(971x-4.5,y,z+2.500270)
        setElementData(object,"owner",getPlayerName(plr))
        setElementDimension(object,dim)
        setElementInterior(object,int)

        local object=createObject(971x,y-3.5,z+2.500180)
        setElementData(object,"owner",getPlayerName(plr))
        setElementDimension(object,dim)
        setElementInterior(object,int)

        local object=createObject(971x+4,y,z+2.500270)
        setElementData(object,"owner",getPlayerName(plr))
        setElementDimension(object,dim)
        setElementInterior(object,int)

        outputChatBox("* Stworzy?es/a? klatk?."plr)
    end
end)

addCommandHandler("usun.klatke", function(plr)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
        for i,v in ipairs(getElementsByType("object")) do
            if getElementData(v,"owner") == getPlayerName(plrthen
                destroyElement(v)
            end
        end
    end
end)



addCommandHandler("fix", function(plr,cmd)
     if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
    
        local veh=getPedOccupiedVehicle(plr)
        if not veh then
            outputChatBox("* Nie znajdujesz si? w poje?dzie."plr)
            return
        end
        setElementHealth(veh1000)
        fixVehicle(veh)
    end
end)
addCommandHandler("pj",function(plr,cmd,pj)
    if getElementData(plr"duty") == 3 then
    if not pj or not tonumber(pjthen outputChatBox("*Wpisz /pj [0-3]",plr) return end
    local pj tonumber(pj)
    if pj or pj 3 then outputChatBox("*Wpisz /pj [0-3]",plr) return end
    local veh getPedOccupiedVehicle(plr)
    if not veh then outputChatBox("* Nie znajdujesz si? w pojezdzie.",plr) return end
    setVehiclePaintjob(veh,pj)
    end
end)

addCommandHandler("cfix", function(plrcmdrange)
     if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
        if (not rangethen
            outputChatBox("U?yj: /cfix <zasieg>"plr)
        return end
        if not tonumber(rangethen
        outputChatBox("* /cfix <zasieg>"plr)
        return end
        range tonumber(range)
        if range <= 0 then
        outputChatBox("* Za mala odleglosc"plr)
        return end
        if range 50 then
        outputChatBox("* Za duza odleglosc"plr)
        return end
        local x,y,getElementPosition(plr)
        local cub createColSphere(x,y,z,range)
        local pojazdy getElementsWithinColShapecub"vehicle")
        if #pojazdy == 0 then
        outputChatBox("* Brak pojazdow w poblizu"plr)
        return end
        for i,pojazd in ipairs(pojazdy) do
            fixVehicle(pojazd)
        end
        setTimer(destroyElement,5000,1,cub)
    end
end)


addCommandHandler("xyz",
    function(playercmdxyz)
        if getElementData(player"duty") == 3 then
            local xytonumber(x), tonumber(y), tonumber(z)
            if and and z then
                setElementPosition(playerxyz)
                outputChatBox("Ustawi?e? Pozycje."player2202200false)
            else
                outputChatBox("TP: /xyz <x> <y> <z>"player2202200false)
            end
        end
    end)

function flip(plr)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
        if isPedInVehicle(plrthen
            local veh getPedOccupiedVehicleplr )
            local x,y,getElementRotation(veh)
            setElementRotationveh,0,0,z)
       end
    end
end
addCommandHandler('flip',flip)



addCommandHandler("ustaw.pogode", function(plrcmdvalue)
   if getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
    
    if not tonumber(valuethen
        outputChatBox("* Nie wpisa?e? id pogody."plr)
        return
    end
    
    if tonumber(value) > 175 then
        outputChatBox("* Wpisa?e? du?e id pogody."plr)
        return
    end
    end
    
    setWeather(value)
end)

addCommandHandler("up", function(plrcmdvalue)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
        if (tonumber(value)==nilthen
            outputChatBox("U?yj: /up <ile>"plr)
            return
        end
    
        local e plr
    
        if (isPedInVehicle(plr)) then
            e getPedOccupiedVehicle(plr)
        end
    
        local x,y,getElementPosition(e)
        setElementPosition(exyz+tonumber(value))
    end
end)

addCommandHandler("thru", function(plrcmdvalue)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
        if (tonumber(value)==nilthen
            outputChatBox("U?yj: /thru <ile>"plr)
            return
        end
    
        local e plr
    
        if getCameraTarget(plr) ~= plr then
            e getCameraTarget(plr)
        end
    
        if (isPedInVehicle(plr)) then
            e getPedOccupiedVehicle(e)
        end
    
        local x,y,getElementPosition(e)
        local _,_,rz getElementRotation(e)
    
        local rrz math.rad(rz)
        local x + (value math.sin(-rrz))
        local y + (value math.cos(-rrz))
    
        setElementPosition(exyz)
    end
end)

addCommandHandler("tt", function(plrcmdcel)
   if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
    if not cel then
        outputChatBox("* U?yj: /tt <nick/ID>"plr)
        return
    end
    
    local target findPlayer(plrcel)
    
    if not target then
        outputChatBox("* Nie znaleziono podanego gracza!"plr)
        return
    end
    
    local x,y,getElementPosition(target)
    setElementInterior(plrgetElementInterior(target))
    setElementDimension(plrgetElementDimension(target))
    setElementPosition(plrx+1,y+1,z)
    end
end)
addCommandHandler("th", function(plrcmdcel)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
    
    if not cel then
        outputChatBox("* U?yj: /th <nick/ID>"plr)
        return
    end
    
    local target findPlayer(plrcel)
    local x,y,getElementPosition(plr)
    
    if not target then
        outputChatBox("* Nie znaleziono podanego gracza!"plr)
        return
    end
    
    if isPedInVehicle(targetthen
        removePedFromVehicle(target)
    end
    
    setElementInterior(targetgetElementInterior(plr))
    setElementDimension(targetgetElementDimension(plr))
    setElementPosition(targetx,y,z+1.5)
    end
end)



addCommandHandler("spec", function(plrcmdcel)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
    end
        if (not celthen
            outputChatBox("U?yj: /spec <id/nick"plr)
            return
        end
        
        local target findPlayer(plrcel)
    
        if (not targetthen
            outputChatBox("Nie znaleziono gracza o podanym ID/nicku!"plr)
            return
        end
    
        setElementInterior(plrgetElementInterior(target))
        setElementDimension(plrgetElementDimension(target))
        local x,y,getElementPosition(plr)
        setElementData(plr"pozycja:x"x)
        setElementData(plr"pozycja:y"y)
        setElementData(plr"pozycja:z"z)
        setCameraTarget(plrtarget)
end)

    
addCommandHandler("specoff", function(plrcmd)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
     end
local x getElementData(plr"pozycja:x")
local y getElementData(plr"pozycja:y")
local z getElementData(plr"pozycja:z")
setElementPosition(plrxyz)
        setCameraTarget(plrplr)
end)

function findPlayer(plr,cel)
    local target=nil
    if (tonumber(cel) ~= nilthen
        target=getElementByID("p"..cel)
    else -- podano fragment nicku
        for _,thePlayer in ipairs(getElementsByType("player")) do
            if string.find(string.gsub(getPlayerName(thePlayer):lower(),"#%x%x%x%x%x%x"""), cel:lower(), 1truethen
                if (targetthen
                    outputChatBox("Znaleziono wi?cej graczy o podobnym nicku, podaj wi?cej liter!"plr)
                    return nil
                end
                target=thePlayer
            end
        end
    end
    return target
end



-----


addCommandHandler("raport", function(plr,cmd,cel,...)
    if not cel then
        outputChatBox("U?yj: /raport <kawa?ek nick'u> <pow?d>"plr)
        return
    end
    local target findPlayer(plr,cel)
    if not target then
        outputChatBox("Nie znaleziono podanego gracza."plr25500)
        return
    end
    local text=table.concat({...}, " ")
    desc getPlayerName(plr).."("..getElementData(plr,"id")..") >> "..getPlayerName(target).."("..getElementData(target,"id").."): "..text
    triggerClientEvent(root"admin:addReport"resourceRootdescgetElementData(target,"id"))
    outputChatBox("Pomy?lnie wys?ano zg?oszenie na gracza: "..getPlayerName(target), plr)
end)

addCommandHandler("cl", function(plr,cmd,id,...)
if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
    if not tonumber(idthen
        outputChatBox("U?yj: /cl <ID> <pow?d usuni?cia>"plr)
        return
    end
    local reason table.concat({...}, " ")
    local target findPlayer(plr,id)
    if target then
        id getElementData(target"id")
        opis getPlayerName(target)
    end
    triggerClientEvent(plr"admin:removeReport"resourceRootid)
    for i,v in ipairs(getElementsByType("player")) do
        if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
        if getElementData(v"duty") == or getElementData(v"duty") == or getElementData(v"duty") == 3 then
                outputChatBox(""..getPlayerName(plr).." usun??/??a raport na: "..opis.."/"..id..": "..reasonv25500)
            end
        end
    end
    end
end)


SS-Bazy danych



Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-08-29, 13:34


Emm

***** ***






Wiek: 32
Na forum: 3880 dni
Posty: 3191
Nick w MP: Emm

Piwa: 6162

Respekt: 1580
Respekt: 1580Respekt: 1580


   Administrator: Admin ma zawsze rację | REGULAMIN FORUM | REKLAMA/VIP | .
Musisz zapisa? jeszcze baz? danych. Nie wiem czy to zrobi?e? bo nie zawar?e? takiej informacji, kliknij "Write Changes" na g?rze (w programie z baz? SQL) i zrestartuj zas?b.

Podpis

Użytkownik: 20.10.2015r
GTAO Member: 06.03.2016r
Support-Team: 20.01.2016r
Moderator: 30.03.2016r
Mod-Team: 08.10.2016r
Vice Admin: 04.05.2018r
Administrator: 03.05.2022r


! Koniecznie zapoznaj się z regulaminem forum.
Pamiętaj, aby zawsze go przestrzegać, nie mniej ważne są również regulaminy działów, w których się wypowiadasz!
Zamiast zakładać temat po kilka razy, bo jest usuwany przez Administrację, przejrzyj regulamin i napisz poprawnie temat!
Sprawy z administracją możesz załatwiać anonimowo w tym dziale.
Najważniejsze informacje od Administracji możesz przeczytać tutaj oraz tutaj.
Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-08-29, 13:50


Qbik1337







Wiek: 30
Na forum: 3207 dni
Posty: 18
Nick w MP: Danio

Piwa: 133

Respekt: 50

Zapisa?em baze danych. Zrobi??m to drugi raz ale bez zmian dalej to samo

[ Dodano: 2017-08-29, 13:58 ]
Jak restartuje skrypt to pisze "Po?aczona z baza danych SQL duty administracji czyli normlanie baza danych dziala nie wiem co robic no

[ Dodano: 2017-08-29, 13:59 ]
Kod mam po stronie serwera

[ Dodano: 2017-08-29, 14:03 ]
B?edy w DB3



Kod Reporty (Po stronie serwera)



local xtext=nil
local gameView={" "}
local reportView={"Lista raport?w:"}
local sx,sy=guiGetScreenSize()

addEventHandler("onClientRender"root, function()
if getElementData(localPlayer"duty") == or getElementData(localPlayer"duty") == or getElementData(localPlayer"duty") == 3 then
    concat=table.concat(gameView"\n")
    dxDrawText(concatsx*(10+1)/1024sy*(279+1)/768sx*(326+1)/1024sy*(497+1)/768tocolor(000255), 1.00"default""left""top"falsetrue)
    dxDrawText(concatsx*(10)/1024sy*(279)/768sx*(326)/1024sy*(497)/768white1.00"default""left""top"falsetrue)
end
    end)


function renderingInfo()
    --dxDrawRectangle(sx*(258)/1024sy*(0)/768sx*(500)/1024sy*(23)/768tocolor(000155), false)
     dxDrawRectangle(sx*(843)/1280sy*(536)/600sx*(427)/1280sy*(28)/600tocolor(000155), false)
    --dxDrawText(xtextsx*(258+1)/1024sy*(0+1)/768sx*(758+1)/1024sy*(23+1)/768tocolor(000255), 1.00"default""center""center"falsetrue)
    --dxDrawText(xtextsx*(258)/1024sy*(0)/768sx*(758)/1024sy*(23)/768tocolor(25500255), 1.00"default""center""center"falsetrue)
    dxDrawText(xtextsx*(860+1)/1280sy*(542+1)/600sx*(1260+1)/1280sy*(560+1)/600tocolor(000255), 1.00"default""left""top"falsefalsefalsefalsefalse)
    dxDrawText(xtextsx*(860)/1280sy*(542)/600sx*(1260)/1280sy*(560)/600tocolor(25500255), 1.00"default""left""top"falsefalsefalsefalsefalse)
    dxDrawImage(sx*(1242)/1280sy*(541)/600sx*(24)/1280sy*(19)/600":dutyAdministracji/img/mark.png"000tocolor(255255255255), false)
end

addEventHandler("onClientRender"root, function()
if getElementData(localPlayer"duty") == or getElementData(localPlayer"duty") == or getElementData(localPlayer"duty") == 3 then
    local tt={}
    for i,v in ipairs(reportView) do
        if v[1then table.insert(tt,v[1]) end
    end
    concat=table.concat(tt"\n")
    dxDrawText(concatsx*(698+1)/1024sy*(278+1)/768sx*(1014+1)/1024sy*(496+1)/768tocolor(000255), 1.00"default""right""top"falsetrue)
    dxDrawText(concatsx*(698)/1024sy*(278)/768sx*(1014)/1024sy*(496)/768tocolor(255255255255), 1.00"default""right""top"falsetrue)
end
    end)

addEvent("admin:addText"true)
addEventHandler("admin:addText"root, function(text)
    table.insert(gameViewtext)
    if #gameView > 20 then
        table.remove(gameView1)
    end
end)

addEvent("admin:addReport"true)
addEventHandler("admin:addReport"root, function(text,id)
    table.insert(reportView, {text,id})
    if #reportView > 20 then
        table.remove(reportView1)
    end
end)

addEvent("admin:removeReport"true)
addEventHandler("admin:removeReport"root, function(id)
    for i=#reportView, 1, -1 do
        if reportView[i][2] == id then
            table.remove(reportView,i)
        end
    end
end)

addEvent("admin:rendering"true)
addEventHandler("admin:rendering"root, function(text)
    xtext=text
    addEventHandler("onClientRender"rootrenderingInfo)
    setTimer(function()
        removeEventHandler("onClientRender"rootrenderingInfo)
    end50001)
end)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-08-29, 20:12


mis14







Wiek: 25
Na forum: 3924 dni
Posty: 185

Piwa: 73

Respekt: -149

to jest na mysQl a nie SQL

Postaw piwo autorowi tego posta
 

 
Więcej szczegółów
Wystawiono 1 piw(a):
Maszek
Wysłany: 2017-08-29, 21:44


Qbik1337







Wiek: 30
Na forum: 3207 dni
Posty: 18
Nick w MP: Danio

Piwa: 133

Respekt: 50

"mis14" napisał/a:

to jest na mysQl a nie SQL


To jest sql ... chyba umiem odr??ni? mysql od sql a w dodatku otwieram ta baze danych programem do otwierania baz danych sql ..

+ pisze po?aczenie z baza danych sql


 db dbConnect("sqlite""da.db") -- Po??czenie z serwerem SQL


Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-08-29, 21:56


Kalizman







Wiek: 23
Na forum: 3651 dni
Posty: 1394

Piwa: 4619

Respekt: 358,8
Respekt: 358,8Respekt: 358,8Respekt: 358,8Respekt: 358,8

Kod client-side jest w tym razie nie potrzebny. Poka? kod kt?ry tworzy plik db/sqlite i zawarte w nim tabele etc + kod od sprawdzania czy gracz jest wpisany

Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-08-29, 22:09


Qbik1337







Wiek: 30
Na forum: 3207 dni
Posty: 18
Nick w MP: Danio

Piwa: 133

Respekt: 50

"Kalizman" napisał/a:

Kod client-side jest w tym razie nie potrzebny. Poka? kod kt?ry tworzy plik db/sqlite i zawarte w nim tabele etc + kod od sprawdzania czy gracz jest wpisany




function jestRCONem(gracz)
if getElementData(gracz"duty") == 3 then return true end
end


function jestADMINem(gracz)
if getElementData(gracz"duty") == 2 then return true end
end


function jestModem(gracz)
if getElementData(gracz"duty") == 1 then return true end
end

addCommandHandler("admins", function(gracz,cmd)
    admini = {}
    rconi = {}
    moderatorzy = {}
            for k,v in ipairs(getElementsByType("player")) do
                if jestRCONem(vthen
                    table.insert(rconigetPlayerName(v))
                    elseif jestModem (vthen
                    table.insert(moderatorzygetPlayerName(v))
                    elseif jestADMINem(vthen
                    table.insert(adminigetPlayerName(v))
                end
             end
    for i=0,do
    outputChatBox(" "gracz)
    end
    outputChatBox("* Dost?pni RCON'i:"gracz25500)
        if #rconi > 0 then
            outputChatBox(table.concat(rconi", "), gracz)
        else
            outputChatBox("brak"gracz)
        end
    outputChatBox(" "gracz)
    outputChatBox("* Dost?pni administratorzy:"gracz0100255)
        if #admini > 0 then
            outputChatBox(table.concat(admini", "), gracz)
        else
            outputChatBox("brak"gracz)
        end
    outputChatBox(" "gracz)
    outputChatBox("* Dost?pni moderatorzy:"gracz02550)
        if #moderatorzy > 0 then
            outputChatBox(table.concat(moderatorzy", "), gracz)
        else
            outputChatBox("brak"gracz)
        end
    outputServerLog(getPlayerName(gracz).." sprawdza list? dost?pnych cz?onk?w ekipy.")
end
)

-- Ustawienia SQL
addEventHandler("onResourceStart"resourceRoot, function()
    db dbConnect("sqlite""da.db") -- Po??czenie z serwerem SQL
        if db then
        outputDebugString("Po??czono z baz? SQL duty administracji ")
        end
end)

-- Reszta zasobu
addCommandHandler("duty", function(plr,cmd)
    local q dbQuery(db"SELECT level FROM admins WHERE login=?"getAccountName(getPlayerAccount(plr)))
    local w dbPoll(q, -1)
    if and #w > 0 then
        if not getElementData(plr"duty"then
            if w[1].level == 1 then -- Je?eli kolumna 'level' ma warto?? 1 to nadajemy rangmoderatora.
                setElementData(plr"duty"1)
                outputChatBox("Logujesz si? na duty moderatora."plr)
            elseif w[1].level == 2 then -- Je?eli kolumna 'level' ma warto?? 2 to nadajemy rangadministratora.
                setElementData(plr"duty"2)
                outputChatBox("Loguejsz si? na duty administratora."plr)
            elseif w[1].level == 3 then -- Je?eli kolumna 'level' ma warto?? 3 to nadajemy rangadministratora RCON.
                setElementData(plr"duty"3)
                outputChatBox("Logujesz si? na duty administratora RCON."plr)
            end
        else
            removeElementData(plr"duty")
            outputChatBox("Wylogowujesz si? z duty."plr)
        end
    else
        outputChatBox("Nie jeste? w ekipie serwera."plr)
    end
end)



addCommandHandler('e', function(plr,cmd, ...)
    if not (...) then return end
    local ranga nil
    local msg=table.concat({...}, " ")
    if getElementData(plr"duty") == 3 then
        ranga "RCON"
    end
    if getElementData(plr"duty") == 2 then
        ranga "ADM"
    end
    if getElementData(plr"duty") == 1 then
        ranga "MOD"
    end
    for _p in pairs(getElementsByType('player')) do
        if getElementData(p"duty"then
            outputChatBox("[CE] "..getPlayerName(plr).." ("..tonumber(getElementData(plr,"id"))..") ".."["..ranga.."]: "..msg,p,255,1700,true)
        end
    end
end)

--[[
    Informacje:
    Aby zas?b dzia?apoprawniemusisz dodatabel? do MySQL z nazw'admins' (bez apostrof?wz kolumnami: 
    serial typ VARCHAR d?ugo?? 255
    levle typ INT d?ugo?? 1
    
    Aby dodagracza do administracjidodaj do MySQL serial gracza oraz level
    Level 1 Moderator
    Level 2 Administrator
    Level 3 Administrator RCON
    
    Aby pobraranggracza przy nprobieniu komend:
    
    aby sprawdzi?, czy gracz jest moderatorem wpisujemy:
        if getElementData(plr"duty") == 1 then
            Reszta Twojego kodu.
        end
    aby sprawdzi?, czy gracz jest administratorem wpisujemy:
        if getElementData(plr"duty") == 2 then
            Reszta Twojego kodu.
        end
    aby sprawdzi?, czy gracz jest administratorem RCON wpisujemy:
        if getElementData(plr"duty") == 3 then
            Reszta Twojego kodu
        end
]]--

--Komedndy  Chat

addCommandHandler("r", function(plrcmd, ...)
       if getElementData(plr"duty") == 3 then
        local text table.concat(arg" ")
        name getPlayerName(plr)
        outputChatBox("R > "..text.." ~ "..getPlayerName(plr).."."getRootElement(), 25500true)
    end
end)


addCommandHandler("a", function(plrcmd, ...)
    if getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
        local text table.concat(arg" ")
        name getPlayerName(plr)
        outputChatBox("A > "..text.." ~ "..getPlayerName(plr).."."getRootElement(), 0100255true)
    end
end)

addCommandHandler("m", function(plrcmd, ...)
    if getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
        local text table.concat(arg" ")
        name getPlayerName(plr)
        outputChatBox("M > "..text.." ~ "..getPlayerName(plr).."."getRootElement(), 722550true)
    end
end)

--- d?u?ej
addCommandHandler("p", function(plrcmdmodel)
     if getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
        
        local dim getElementDimension(plr)
        local x,y,getElementPosition(plr)
        local r1,r2,r3 getElementRotation(plr)
        local model getVehicleModelFromName(model)
        
        
          if not tostring(modelthen
            outputChatBox("* Nie wpisa?e?(a?) modelu pojazdu."plr)
            return
          end
    
     
        
        if getPedOccupiedVehicle(plrthen
            setElementModel(getPedOccupiedVehicle(plr), model)
        else
            local pojazd createVehicle(modelxyzr1r2r3)
            warpPedIntoVehicle(plrpojazd)
            setElementDimension(pojazddim)
            setVehicleColor(pojazd002)
            ---setElementData(pojazd,"vehicle:fuel",100)
            setVehiclePlateText(pojazd,"RESPIONE")
        end
        
    end
end)

--[[addCommandHandler("daj.rep", function(plr,cmd,cel,value)
     if getElementData(plr"duty") == 3 then
        if not cel or not tonumber(valuethen
            outputChatBox("* U?ycie: /daj.rep <nick/ID> <ilosc>"plr)
            return
        end
        local targetfindPlayer(plr,cel)
        if not target then
            outputChatBox("* Nie znaleziono podanego gracza."plr25500)
            return
        end
        setElementData(target,"Reputacja"getElementData(target,"Reputacja")+value)
        outputChatBox("* Otrzyma?e?(a?)  "..value.." Reputacji!"target)
    end
    end
end)


]]
addCommandHandler("destroy", function(plrcmdmodel)
   if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
    
    local pojazd getVehicleOccupant(source)
    if not pojazd then return end
    
    destroyElement(pojazd)
  end
end)

addCommandHandler("jp", function(plr,cmd)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
        if isPedInVehicle(plrthen
            removePedFromVehicle(plr)
        end
        if doesPedHaveJetPack(plrthen
            removePedJetPack(plr)
        else
            givePedJetPack(plr)
        end
    end
end)


addCommandHandler("dim", function(plrcmdvalue)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
        if (not valuethen
            outputChatBox("U?yj: /dim <numer>"plr)
            return
        end
        
        setElementDimension(plrvalue)
    end
end)

addCommandHandler("thv", function(plrcmdvid)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
    if not tonumber(vidthen return end
    for i,v in ipairs(getElementsByType("vehicle")) do
    if getElementData(v"car_id") == tonumber(vidthen
                local x,y,getElementPosition(plr)
                setElementFrozen(vfalse)
                warpPedIntoVehicle(plrv)
                setElementPosition(vx,y,z)
                setElementInterior(vgetElementInterior(plr))
                setElementDimension(vgetElementDimension(plr))
                return
            end
          end
         end
         outputChatBox("* Nie posiadasz uprawnie? do u?ywania tej komendy, b?d? nie znaleziono auta o podanym ID!"plr25500)
    end)

addCommandHandler("inv", function(plr)
        if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
        if getElementAlpha(plr) > 0 then
            setElementAlpha(plr,0)
        setPlayerNametagShowing(plrfalse)
        else
            setElementAlpha(plr,255)
        setPlayerNametagShowing(plrtrue)
        end
    end
end)



function getPointFromDistanceRotation(x,y,dist,angle)
    local a=math.rad(90-angle);
    local dx=math.cos(a) * dist;
    local dy=math.sin(a) * dist;
    return x+dxy+dy;
end

addCommandHandler("ustaw.klatke", function(plr)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
        local x,y,z=getElementPosition(plr)
        local dim=getElementDimension(plr)
        local int=getElementInterior(plr)

        local object=createObject(971x,y,z-0.92700180)
        setElementData(object,"owner",getPlayerName(plr))
        setElementDimension(object,dim)
        setElementInterior(object,int)

        local object=createObject(971x,y,z+62700180)
        setElementData(object,"owner",getPlayerName(plr))
        setElementDimension(object,dim)
        setElementInterior(object,int)

        local object=createObject(971x,y+3.5,z+2.5000)
        setElementData(object,"owner",getPlayerName(plr))
        setElementDimension(object,dim)
        setElementInterior(object,int)

        local object=createObject(971x-4.5,y,z+2.500270)
        setElementData(object,"owner",getPlayerName(plr))
        setElementDimension(object,dim)
        setElementInterior(object,int)

        local object=createObject(971x,y-3.5,z+2.500180)
        setElementData(object,"owner",getPlayerName(plr))
        setElementDimension(object,dim)
        setElementInterior(object,int)

        local object=createObject(971x+4,y,z+2.500270)
        setElementData(object,"owner",getPlayerName(plr))
        setElementDimension(object,dim)
        setElementInterior(object,int)

        outputChatBox("* Stworzy?es/a? klatk?."plr)
    end
end)

addCommandHandler("usun.klatke", function(plr)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
        for i,v in ipairs(getElementsByType("object")) do
            if getElementData(v,"owner") == getPlayerName(plrthen
                destroyElement(v)
            end
        end
    end
end)



addCommandHandler("fix", function(plr,cmd)
     if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
    
        local veh=getPedOccupiedVehicle(plr)
        if not veh then
            outputChatBox("* Nie znajdujesz si? w poje?dzie."plr)
            return
        end
        setElementHealth(veh1000)
        fixVehicle(veh)
    end
end)
addCommandHandler("pj",function(plr,cmd,pj)
    if getElementData(plr"duty") == 3 then
    if not pj or not tonumber(pjthen outputChatBox("*Wpisz /pj [0-3]",plr) return end
    local pj tonumber(pj)
    if pj or pj 3 then outputChatBox("*Wpisz /pj [0-3]",plr) return end
    local veh getPedOccupiedVehicle(plr)
    if not veh then outputChatBox("* Nie znajdujesz si? w pojezdzie.",plr) return end
    setVehiclePaintjob(veh,pj)
    end
end)

addCommandHandler("cfix", function(plrcmdrange)
     if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
        if (not rangethen
            outputChatBox("U?yj: /cfix <zasieg>"plr)
        return end
        if not tonumber(rangethen
        outputChatBox("* /cfix <zasieg>"plr)
        return end
        range tonumber(range)
        if range <= 0 then
        outputChatBox("* Za mala odleglosc"plr)
        return end
        if range 50 then
        outputChatBox("* Za duza odleglosc"plr)
        return end
        local x,y,getElementPosition(plr)
        local cub createColSphere(x,y,z,range)
        local pojazdy getElementsWithinColShapecub"vehicle")
        if #pojazdy == 0 then
        outputChatBox("* Brak pojazdow w poblizu"plr)
        return end
        for i,pojazd in ipairs(pojazdy) do
            fixVehicle(pojazd)
        end
        setTimer(destroyElement,5000,1,cub)
    end
end)


addCommandHandler("xyz",
    function(playercmdxyz)
        if getElementData(player"duty") == 3 then
            local xytonumber(x), tonumber(y), tonumber(z)
            if and and z then
                setElementPosition(playerxyz)
                outputChatBox("Ustawi?e? Pozycje."player2202200false)
            else
                outputChatBox("TP: /xyz <x> <y> <z>"player2202200false)
            end
        end
    end)

function flip(plr)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 2 then
        if isPedInVehicle(plrthen
            local veh getPedOccupiedVehicleplr )
            local x,y,getElementRotation(veh)
            setElementRotationveh,0,0,z)
       end
    end
end
addCommandHandler('flip',flip)



addCommandHandler("ustaw.pogode", function(plrcmdvalue)
   if getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
    
    if not tonumber(valuethen
        outputChatBox("* Nie wpisa?e? id pogody."plr)
        return
    end
    
    if tonumber(value) > 175 then
        outputChatBox("* Wpisa?e? du?e id pogody."plr)
        return
    end
    end
    
    setWeather(value)
end)

addCommandHandler("up", function(plrcmdvalue)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
        if (tonumber(value)==nilthen
            outputChatBox("U?yj: /up <ile>"plr)
            return
        end
    
        local e plr
    
        if (isPedInVehicle(plr)) then
            e getPedOccupiedVehicle(plr)
        end
    
        local x,y,getElementPosition(e)
        setElementPosition(exyz+tonumber(value))
    end
end)

addCommandHandler("thru", function(plrcmdvalue)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
        if (tonumber(value)==nilthen
            outputChatBox("U?yj: /thru <ile>"plr)
            return
        end
    
        local e plr
    
        if getCameraTarget(plr) ~= plr then
            e getCameraTarget(plr)
        end
    
        if (isPedInVehicle(plr)) then
            e getPedOccupiedVehicle(e)
        end
    
        local x,y,getElementPosition(e)
        local _,_,rz getElementRotation(e)
    
        local rrz math.rad(rz)
        local x + (value math.sin(-rrz))
        local y + (value math.cos(-rrz))
    
        setElementPosition(exyz)
    end
end)

addCommandHandler("tt", function(plrcmdcel)
   if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
    if not cel then
        outputChatBox("* U?yj: /tt <nick/ID>"plr)
        return
    end
    
    local target findPlayer(plrcel)
    
    if not target then
        outputChatBox("* Nie znaleziono podanego gracza!"plr)
        return
    end
    
    local x,y,getElementPosition(target)
    setElementInterior(plrgetElementInterior(target))
    setElementDimension(plrgetElementDimension(target))
    setElementPosition(plrx+1,y+1,z)
    end
end)
addCommandHandler("th", function(plrcmdcel)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
    
    if not cel then
        outputChatBox("* U?yj: /th <nick/ID>"plr)
        return
    end
    
    local target findPlayer(plrcel)
    local x,y,getElementPosition(plr)
    
    if not target then
        outputChatBox("* Nie znaleziono podanego gracza!"plr)
        return
    end
    
    if isPedInVehicle(targetthen
        removePedFromVehicle(target)
    end
    
    setElementInterior(targetgetElementInterior(plr))
    setElementDimension(targetgetElementDimension(plr))
    setElementPosition(targetx,y,z+1.5)
    end
end)



addCommandHandler("spec", function(plrcmdcel)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
    end
        if (not celthen
            outputChatBox("U?yj: /spec <id/nick"plr)
            return
        end
        
        local target findPlayer(plrcel)
    
        if (not targetthen
            outputChatBox("Nie znaleziono gracza o podanym ID/nicku!"plr)
            return
        end
    
        setElementInterior(plrgetElementInterior(target))
        setElementDimension(plrgetElementDimension(target))
        local x,y,getElementPosition(plr)
        setElementData(plr"pozycja:x"x)
        setElementData(plr"pozycja:y"y)
        setElementData(plr"pozycja:z"z)
        setCameraTarget(plrtarget)
end)

    
addCommandHandler("specoff", function(plrcmd)
    if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
     end
local x getElementData(plr"pozycja:x")
local y getElementData(plr"pozycja:y")
local z getElementData(plr"pozycja:z")
setElementPosition(plrxyz)
        setCameraTarget(plrplr)
end)

function findPlayer(plr,cel)
    local target=nil
    if (tonumber(cel) ~= nilthen
        target=getElementByID("p"..cel)
    else -- podano fragment nicku
        for _,thePlayer in ipairs(getElementsByType("player")) do
            if string.find(string.gsub(getPlayerName(thePlayer):lower(),"#%x%x%x%x%x%x"""), cel:lower(), 1truethen
                if (targetthen
                    outputChatBox("Znaleziono wi?cej graczy o podobnym nicku, podaj wi?cej liter!"plr)
                    return nil
                end
                target=thePlayer
            end
        end
    end
    return target
end



-----


addCommandHandler("raport", function(plr,cmd,cel,...)
    if not cel then
        outputChatBox("U?yj: /raport <kawa?ek nick'u> <pow?d>"plr)
        return
    end
    local target findPlayer(plr,cel)
    if not target then
        outputChatBox("Nie znaleziono podanego gracza."plr25500)
        return
    end
    local text=table.concat({...}, " ")
    desc getPlayerName(plr).."("..getElementData(plr,"id")..") >> "..getPlayerName(target).."("..getElementData(target,"id").."): "..text
    triggerClientEvent(root"admin:addReport"resourceRootdescgetElementData(target,"id"))
    outputChatBox("Pomy?lnie wys?ano zg?oszenie na gracza: "..getPlayerName(target), plr)
end)

addCommandHandler("cl", function(plr,cmd,id,...)
if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
    if not tonumber(idthen
        outputChatBox("U?yj: /cl <ID> <pow?d usuni?cia>"plr)
        return
    end
    local reason table.concat({...}, " ")
    local target findPlayer(plr,id)
    if target then
        id getElementData(target"id")
        opis getPlayerName(target)
    end
    triggerClientEvent(plr"admin:removeReport"resourceRootid)
    for i,v in ipairs(getElementsByType("player")) do
        if getElementData(plr"duty") == or getElementData(plr"duty") == or getElementData(plr"duty") == 3 then
        if getElementData(v"duty") == or getElementData(v"duty") == or getElementData(v"duty") == 3 then
                outputChatBox(""..getPlayerName(plr).." usun??/??a raport na: "..opis.."/"..id..": "..reasonv25500)
            end
        end
    end
    end
end)


Oto ci chodzi tylko taki kod mam jezeli chodzi o duty sql


[ Dodano: 2017-08-30, 09:36 ]
Temat do zamkniecia sam naprawi?em

Postaw piwo autorowi tego posta
 

 
Tagi: dutyadministracji :: sql :: (goyd)
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA Odpowiedz do tematu

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku