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

Wysłany: 2021-10-10, 20:42


Karolowatyy







Wiek: 25
Na forum: 3286 dni
Posty: 117
Nick w MP: Ripley

Piwa: 826

Respekt: 90

Ostrzeżeń: 20%
Siemano, po wej?ciu i zalogowaniu si? na serwer wywala nast?puj?ce errory:

https://cdn.discordapp.com/attachments/662336840556085248/896379349232648262/unknown.png


local dir string.format("models/%s/%s"v.typev.file)
        if fileExists(dir..".itxd"then
            local fileString self:uncompileFile(dir"itxd")
            local txd engineLoadTXD(fileString)
            if txd then
                engineImportTXD(txdv.model)
            else
                outputDebugString(string.format("[TR_models] Failed to load TXD for model %s!"v.file), 025500)
            end
        end
        if fileExists(dir..".idff"then
            local fileString self:uncompileFile(dir"idff")
            local dff engineLoadDFF(fileString)
            if dff then
                engineReplaceModel(dffv.modelv.alpha)
            else
                outputDebugString(string.format("[TR_models] Failed to load DFF for model %s!"v.file), 025500)
            end
        end
        if fileExists(dir..".icol"then
            local fileString self:uncompileFile(dir"icol")
            local col engineLoadCOL(fileString)
            if col then
                engineReplaceCOL(colv.model)
            else
                outputDebugString(string.format("[TR_models] Failed to load COL for model %s!"v.file), 025500)
            end
        end

function ModelLoader:uncompileFile(dirformat)
    local file fileOpen(dir.."."..format)
    local fileString fileRead(filefileGetSize(file))
    local uncompiledString self:teaDecodeBinary(fileStringEncriptionKey)
    fileClose(file)
    return uncompiledString
end

function ModelLoader:teaDecodeBinary(datakey)
    return decodeString("tea"data, {key key})
end

-- PLIK SETTINGS:

replaceList = {
    -- Vehicles
    { -- Santa sleights
        file "shamal",
        type "vehicles",
        model 512,
    },...


Pomo?e kto??

Podpis
Randka?
Postaw piwo autorowi tego posta
 

 
Więcej szczegółów
Wystawiono 1 piw(a):
Umboksal12333
Tagi: insidemta :: modele
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA » InsideMTA - modele 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