Üzenetek megjelenítése

Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van.


Üzenetek - xXCsucsuXx

Oldalak: 1 ... 4 5 [6] 7 8 ... 15
76
Segítségkérés / Mta Kocsimod
« Dátum: 2018. Január 11. - 06:29:41 »
Hali kaptam egy módot teljesen kocsimodokal de sajnos valamiért nem akkar betölteni ez mi miatt lehet? Sajnos azt csinálja amikor fent vagyok hogy betöltés folyamatba és semmi 
 
 
 
local tempTable = {}
local modCount = 0
local allModCount = 0
local keys = 0
local loadedMods = {}
local modKeys = {}
local buggedVehs = 1
 
function addFile(file, mod)
    if not downloadFile(file) then
        outputDebugString(file..\" nem található!\")
    else
        allModCount = allModCount + 1
        modCache[file] = mod
        if not modKeys[mod] then
            keys = keys + 1
            modKeys[mod] = keys
        end
    end
end
 
local sx,sy = guiGetScreenSize()
local imgrot = 0
function renderGTAVLoading()
    local percent = math.floor((modCount/allModCount)*100)
    if percent == 100 then
        allModCount = 0
        modCount = 0
        buggedVehs = 1
        tempTable = {}
        modKeys = {}
        keys = 0
        removeEventHandler(\"onClientRender\", root, renderGTAVLoading)
    end
    dxDrawRectangle(sx-200,sy-25,200,25,tocolor(0,0,0,180), true)
    imgrot = imgrot + 5
    dxDrawImage(sx-195,sy-23,20,20,\"loading.png\", imgrot, 0, 0, nil, true)
    dxDrawText(\"Betöltés folyamatban (\"..percent..\"%)\",sx-165,sy-19,20,20,tocolor(255,255,255,255),1,\"default\",\"left\",\"top\",false,false,true)
    loadMods()
end
 
function restoreAllModels()
    -- teljes ram tisztítás
    local restored = {}
    for k,v in pairs(loadedMods) do
        if not restored[k] then
            engineRestoreModel(k)
            restored[k] = true
        end
    end
    loadedMods = {}
    for k,_ in pairs(vehicleParts) do
        for key,value in pairs(vehicleParts[k]) do
            if not restored[value] then
                engineRestoreModel(value)
                restored[value] = true
            end
        end
    end
    restored = nil
end
addCommandHandler(\"ki\", restoreAllModels)
 
local startTimer
function loadMods()
    startTimer = setTimer(function()
        if not isTransferBoxActive() then
            killTimer(startTimer)
            loadedMods = {}
            for k,v in pairs(modCache) do
                addFile(k, v)
            end
            for k,_ in pairs(vehicleParts) do
                for key,value in pairs(vehicleParts[k]) do
                    addFile(key, value)
                end
            end
            addEventHandler(\"onClientRender\", root, renderGTAVLoading)
        end
    end, 2000, 0)
end
addEventHandler(\"onClientResourceStart\", resourceRoot, loadMods)
addCommandHandler(\"be\", loadMods)
 
addCommandHandler(\"reloadcar\", function(cmd, id)
    local id = tonumber(id) or 0
    local i = 0
    for k,v in pairs(modCache) do
        if v == id then
            addFile(k, v)
            i = i + 1
        end
    end
    if i > 0 then
        addEventHandler(\"onClientRender\", root, renderGTAVLoading)
        outputChatBox(\"[HL] #FFFFFFJármű újratöltve!\", 0, 255, 0, true)
    else
        outputChatBox(\"[HL] #FFFFFFNincs ilyen jármű a listában!\", 0, 255, 0, true)
    end
end)
 
addEventHandler(\"onClientFileDownloadComplete\", root, function(file,success)
    if source == resourceRoot then
        if success then
            local kit = string.sub(file, -4)
            if kit == \".dff\" then
                local name = file:gsub(\".dff\", \"\")
                local mod = tonumber(modCache[file]) or 0
                if mod < 1000 and mod > 0 then
                    if modCache[name..\".txd\"] then
                        if fileExists(name..\".txd\") then
                            if not loadedMods[mod] then
                                loadVehicleMod(name, mod, modKeys[mod])
                            end
                        end
                    else
                        if not loadedMods[mod] then
                            loadDFF(name,mod)
                        end
                    end
                    modKeys[file] = nil
                end
                modCount = modCount + 1
            elseif kit == \".txd\" then
                local name = file:gsub(\".txd\", \"\")
                local mod = tonumber(modCache[file]) or 0
                if mod < 1000 and mod > 0 then
                    if modCache[name..\".dff\"] then
                        if fileExists(name..\".dff\") then
                            if not loadedMods[mod] then
                                loadVehicleMod(name, mod, modKeys[mod])
                            end
                        end
                    else
                        if not loadedMods[mod] then
                            loadTXD(name, mod)
                        end
                    end
                    modKeys[file] = nil
                end
                modCount = modCount + 1
            end
        end
    end
end)
 
function loadVehicleMod(file, mod, key)
    if key then
        local file = file:gsub(\".dff\",\"\")
        local bugged = buggedVehicles[mod]
        if not bugged then
            loadTXD(file, mod)
            loadDFF(file,mod)
        else
            loadTXD(file, mod)
            setTimer(loadBuggedParts, 200*key, 1, file, mod)
        end
    end
end
 
function loadDFF(file,mod)
    file = file:gsub(\".dff\",\"\")
    dff = fileExists(file..\".dff\") and engineLoadDFF(file..\".dff\", mod) or false
    if dff then
        engineReplaceModel(dff, mod)
        loadedMods[mod] = true
    end
end
 
function loadTXD(file, mod)
    txd = fileExists(file..\".txd\") and engineLoadTXD(file..\".txd\") or false
    if txd then
        engineImportTXD(txd, mod)
    end
end
 
function loadBuggedParts(file,mod)
    if vehicleParts[mod] then
        local dff = fileExists(file..\".dff\") and engineLoadDFF(file..\".dff\", mod) or false
        if dff then
            engineReplaceModel(dff, mod)
            loadedMods[mod] = true
        end
        for k,v in pairs(vehicleParts[mod]) do
            local dff = fileExists(k) and engineLoadDFF(k, mod) or false
            if dff then
                engineReplaceModel(dff, v)
            end
        end
    end
end

77
Társalgó / CrewHosting [ INGYENES ]
« Dátum: 2015. Május 17. - 15:53:36 »
Helló! Én szeretném kérni hogy a szerveremre probálom feltenni az amxmodx1.8.1-t és nem müködik probáltam mindent és nem megy:S Még azt szeretném kérdezni hogy gyors letöltést lehetne e? Felh:savi

78
Segítségkérés / .so or Dll.
« Dátum: 2015. Május 16. - 22:00:00 »
Mint ahogy írtad, gondolom mysql szerver vagy is gamemode, és ugye abba definiálva van egy fix adatbázis amire csatizik, tehát nem az \"egyedin irt\" mysql plugin a baj az megvan még semmit se birssz csinálni pwn nélkül,tehát ha meg van a mod pwnje akkor írd át a mysql elérést! és jó lesz,és nem plugin hiba...
off


bocs tabrol vagyok

79
Segítségkérés / .so or Dll.
« Dátum: 2015. Május 16. - 14:15:25 »
mysql-t le lehet tölteni .so-ba és dlbe tehát nem értem mit ír az illető! Saját magának? Akkor csak az övé nem de? Amúgyis akkor csináld átt a szervert linuxra ;)

80
Fórum Archívum (Témák/Fórumok) / Re:.so or Dll.
« Dátum: 2015. Május 16. - 08:14:33 »
off


Miért kell minuszt adni? Istenem-.-\" Mert válaszoltam a kérdésére itt hagyom a samp forumot ennyi, nem értem mennyi gyökér van itt! Kérdezett én meg válaszoltam pff

81
Segítségkérés / .so or Dll.
« Dátum: 2015. Május 15. - 20:31:58 »
Zsolt azt írja ugy készítette valaki,tehát lehet csak linuxra készitette!

82
SA-MP: Szerverfejlesztés / vip rendszer
« Dátum: 2015. Május 15. - 16:37:55 »
Háttt őőő!
A kód nem rossz!

83
Segítségkérés / .so or Dll.
« Dátum: 2015. Május 15. - 16:35:36 »
szia! Ugy tudom a .so linuxra van a Dll meg windows-ra tehát keress rá interneten és töltsd le ugyan az!

84
Segítségkérés / Pickupok nem töltenek be
« Dátum: 2015. Május 15. - 16:34:47 »
kodot másolsz? Lehet hogy kordináta baj van! Kod nélkül sajna nem tudom!

85
Segítségkérés / Pickupok nem töltenek be
« Dátum: 2015. Május 14. - 20:46:33 »
Szia! A map vagy csak amit mapoltál az a gond? Akkor a megoldás a plugin csere
http://sampforum.hu/index.php?topic=4331.0
Tessék

Dupla hozzászólás automatikusan összefûzve. ( 2015. Május 14. - 20:47:00 )

Vagyis Stremer plugin a gond!

86
Társalgó / CrewHosting [ INGYENES ]
« Dátum: 2015. Május 11. - 21:48:52 »
ŐŐ nekem is azt írta először,de aztán jó lett! :) Továbbra se fogadták el a regisztrációmat.. 

87
Társalgó / CrewHosting [ INGYENES ]
« Dátum: 2015. Május 11. - 20:20:45 »
Elfogadják a szerver rendelésem? Felh:savi

88
Társalgó / CrewHosting [ INGYENES ]
« Dátum: 2015. Május 11. - 16:39:14 »
System ne haragudj hogy írok de ez mi volt 2napig 20slotos gta samp szerverem vissza kapom vagy valami? FELH:slre14

89
Társalgó / CrewHosting [ INGYENES ]
« Dátum: 2015. Május 11. - 16:24:24 »
HellÓ! mitörtént? nincs szerverem gta samp 20slotos volt és most azt irja nincs szervered felh:slre14

90
Társalgó / CrewHosting [ INGYENES ]
« Dátum: 2015. Május 09. - 22:08:59 »
Oké! :) Jó munkát addig is

Oldalak: 1 ... 4 5 [6] 7 8 ... 15
SimplePortal 2.3.7 © 2008-2024, SimplePortal