xXCsucsuXx

Fórumozó
  • Hozzászólások

    151
  • Csatlakozott

  • Utoljára aktív

Közösségi hírnév

20 Újonc

xXCsucsuXx felhasználóról

  • Rang
    Teljes tag
  • Születésnap 2000-05-31

Egyéb

  • Steam
    69DEVILKILLER69
  • Játékos név
    Troy_Jacksons
  • Weboldal
    http://neonliferpg.clans.hu/forum/
  • Titulus
    PHP,Script
  1. Hali készitettem egy táska rendszert csak ugye van hogy ki listáza hogy pl Jogsi, Szendvics Nah a lényeg ha rá kattol akkor használ,eldob,átad és ezt dialogba hogy birnám megoldani hogy pl ha jogsit választom akkor átadja a másiknak vagy eldobja valaki tud segiteni? CMD:taska(playerid,params[]) { new szendvics = pInfo[playerid][pKaja], pia = pInfo[playerid][pPia], fu = pInfo[playerid][pFCigi], koko = pInfo[playerid][pCocain], jogsi = pInfo[playerid][pJogsi], cigi = pInfo[playerid][pCigi], deagle = pInfo[playerid][pDeagle], colt = pInfo[playerid][pColt], shotgun = pInfo[playerid][pShotgun], baseball = pInfo[playerid][pBasseball], mati = pInfo[playerid][pMati], mobile = pInfo[playerid][pMobile]; new str[1024]; str[0] = EOS; format(str, sizeof(str), "{2ccdfd}Mennyiség\t\tTárgy\n{FFFFFF}"); if(szendvics != 0) format(str, sizeof(str), "%s%d\t\t\tSzendvics\n", str, szendvics); if(pia != 0) format(str, sizeof(str), "%s%d\t\t\tInnivaló\n", str, pia); if(fu != 0) format(str, sizeof(str), "%s%d\t\t\tFüves Cigi\n", str, fu); if(koko != 0) format(str, sizeof(str), "%s%d\t\t\tCocain\n", str, koko); if(jogsi != 0) format(str, sizeof(str), "%s%d\t\t\tSzemélyi Jogosítvány\n", str, jogsi); if(cigi != 0) format(str, sizeof(str), "%s%d\t\t\tCigaretta\n", str, cigi); if(deagle != 0) format(str, sizeof(str), "%s%d\t\t\tDesert Deagle\n", str, deagle); if(colt != 0) format(str, sizeof(str), "%s%d\t\t\tColt\n", str, colt); if(shotgun != 0) format(str, sizeof(str), "%s%d\t\t\tSörétes Shotgun\n", str, shotgun); if(baseball != 0) format(str, sizeof(str), "%s%d\t\t\tBaseball ütő\n", str, baseball); if(mati != 0) format(str, sizeof(str), "%s%d\t\t\tVas\n", str, mati); if(mobile != 0) format(str, sizeof(str), "%s%d\t\t\tTelefon\n", str, mobile); cmd_me(playerid, " Megnézi a táskája tartalmát."); ShowPlayerDialog(playerid, 0531,DIALOG_STYLE_LIST,"Táskád Tartalma",str,"Kiválaszt","Kilépés"); return 1 ; } if(dialogid == 0531) { if(!response) return 1; if(listitem == 0) // MG { ShowPlayerDialog(playerid, 0532, DIALOG_STYLE_LIST, "Táskád Tartalma", "Használ\nÁtad\nEldob\n", "Kiválaszt", "Mégsem"); } } if(dialogid == 0532) { if(!response) return 1; if(listitem == 0) // MG { SendClientMessage(playerid,FEHER,"Ez van ha használja a tárgyat"); } if(listitem == 1) // MG { SendClientMessage(playerid,FEHER,"Ez van ha átadja"); } if(listitem == 2) // MG { SendClientMessage(playerid,FEHER,"Ez van ha átadja"); } }
  2. Nekem olyan gondom lenne hogy volt egy mód ami a mai napig müködött de aztán elkezdett fagyni a szerver lassab objekt betöltést lassaban olvassa be a dialogot stb ez mi miatt lehet?
  3. Mai közösség :)
  4. Sziasztok! olyan kérdésem lenne ha ora ugrás van itt gondolod 1óra 2óra és minden egészkor automatikusan ujra tolti a szolgálati kocsik üzemanyagát cmd:am a parancsa
  5. Hát igaz de hátha sikerül :D
  6. Hát Nekem megteszi :D Viszont nem szervert akkarok nyitni csak probálgatni átt tenni mysqlbe stb :D De azért Köszi :D
  7. Probálkoztam de sajnos nem jó elképzelés hogy van ugye 200 abbol elveszek 199 és ugye akkor 1tol generalja sajna nem jó if(!dini_Exists(vehicleFile(vehicleid)) && vehicleid > 200) { dini_Create( vehicleFile(vehicleid) ); } dini_FloatSet( vehicleFile(vehicleid-199), "FUTOTTKM", vInfo[vehicleid][FUTOTTKM] );
  8. Sziasztok! Egy kis kérdés lenne nah a lényeg az lenne hogy eddig a kocsikat 200 idtol mentette le most átt irtam hogy a frakciok megtett km is mentse le és müködik is csak az a baj hogy a fraki kocsik üzemanyagát mindenét lementi ezt hogyan lehetne idre szabni hogy csak ennek menjen pl futott km 1 idtol a tobbinek meg 200as idtol mentsen? stock SaveVehicle( vehicleid ) { if(!dini_Exists(vehicleFile(vehicleid)) && vehicleid > 1) { dini_Create( vehicleFile(vehicleid) ); } dini_IntSet( vehicleFile(vehicleid), "MODEL", vInfo[vehicleid][MODEL] ); dini_FloatSet( vehicleFile(vehicleid), "X", vInfo[vehicleid][X] ); dini_FloatSet( vehicleFile(vehicleid), "Y", vInfo[vehicleid][Y] ); dini_FloatSet( vehicleFile(vehicleid), "Z", vInfo[vehicleid][Z] ); dini_FloatSet( vehicleFile(vehicleid), "A", vInfo[vehicleid][A] ); dini_IntSet( vehicleFile(vehicleid), "Aktiv", vInfo[vehicleid][Aktiv] ); dini_Set( vehicleFile(vehicleid), "OWNER", vInfo[vehicleid][OWNER] ); dini_Set( vehicleFile(vehicleid), "COOWNER", vInfo[vehicleid][COOWNER] ); dini_IntSet( vehicleFile(vehicleid), "COLOR", vInfo[vehicleid][COLOR] ); dini_IntSet( vehicleFile(vehicleid), "COLOR2", vInfo[vehicleid][COLOR2] ); dini_IntSet( vehicleFile(vehicleid), "SOLD", vInfo[vehicleid][SOLD] ); dini_Set( vehicleFile(vehicleid), "PLATE", vInfo[vehicleid][PLATE] ); dini_IntSet( vehicleFile(vehicleid), "PRICE", vInfo[vehicleid][PRICE] ); dini_IntSet( vehicleFile(vehicleid), "LOCKED", vInfo[vehicleid][LOCKED] ); dini_IntSet(vehicleFile(vehicleid), "ÜzemanyagTipus", vInfo[vehicleid][UZEMANYAGTIPUS]); dini_IntSet(vehicleFile(vehicleid), "MilyenVanBenne", vInfo[vehicleid][UZEMANYAGTIPUSVAN]); dini_IntSet(vehicleFile(vehicleid), "MaxÜzemAnyag", vInfo[vehicleid][MAXUZEMANYAG]); dini_IntSet(vehicleFile(vehicleid), "ÜzemAnyag", vInfo[vehicleid][UZEMANYAG]); dini_IntSet(vehicleFile(vehicleid), "KerékBilincs", vInfo[vehicleid][KEREKBILINCS]); dini_IntSet(vehicleFile(vehicleid), "Lefoglalva", vInfo[vehicleid][LEFOGLALVA]); dini_FloatSet( vehicleFile(vehicleid), "FUTOTTKM", vInfo[vehicleid][FUTOTTKM] ); dini_IntSet(vehicleFile(vehicleid), "DEAGLE", vInfo[vehicleid][DESI]); dini_IntSet(vehicleFile(vehicleid), "COLT", vInfo[vehicleid][COLT]); dini_IntSet(vehicleFile(vehicleid), "UTO", vInfo[vehicleid][UTO]); dini_IntSet(vehicleFile(vehicleid), "COCAIN", vInfo[vehicleid][COCAIN]); dini_IntSet(vehicleFile(vehicleid), "FU", vInfo[vehicleid][FU]); dini_IntSet(vehicleFile(vehicleid), "PANELS", vInfo[vehicleid][PANELS]); dini_IntSet(vehicleFile(vehicleid), "DOORS", vInfo[vehicleid][DOORS]); dini_IntSet(vehicleFile(vehicleid), "LIGHTS", vInfo[vehicleid][LIGHTS]); dini_IntSet(vehicleFile(vehicleid), "TIRES", vInfo[vehicleid][TIRES]); dini_IntSet(vehicleFile(vehicleid), "Riaszto", vInfo[vehicleid][Riaszto]); dini_IntSet(vehicleFile(vehicleid), "Vedelmi", vInfo[vehicleid][Vedelmi]); dini_IntSet(vehicleFile(vehicleid), "VedelmiKod", vInfo[vehicleid][VedelmiKod]); dini_FloatSet(vehicleFile(vehicleid), "ELET", vInfo[vehicleid][ELET]); return 1; }
  9. hali olyan kérdésem lenne miként tudnák egy resourcet ujrainditani anelkul h webadminba kene menni mel eddig ugy volt :D Olvastam itt forumon par temat de ott se irjak le teljesen h mikent kellene tehat koszonom ha valaki le irja acl igy nez ki <acl> <group name="Everyone"> <acl name="Default"></acl> <object name="user.*"></object> </group> <group name="Moderator"> <acl name="Moderator"></acl> <object name="resource.mapcycler"></object> <object name="resource.mapmanager"></object> <object name="resource.resourcemanager"></object> <object name="resource.votemanager"></object> </group> <group name="SuperModerator"> <acl name="Moderator"></acl> <acl name="SuperModerator"></acl> </group> <group name="Admin"> <acl name="Moderator"></acl> <acl name="SuperModerator"></acl> <acl name="Admin"></acl> <acl name="RPC"></acl> <object name="user.*"></object> <object name="resource.*"></object> <object name="resource.san_admin"></object> </group> <group name="Console"> <acl name="Moderator"></acl> <acl name="SuperModerator"></acl> <acl name="Admin"></acl> <acl name="RPC"></acl> <object name="user.Console"></object> <object name="resource.san_admin"></object> </group> <group name="RPC"> <acl name="RPC"></acl> </group> <group name="MapEditor"> <acl name="Default"></acl> <acl name="MapEditor"></acl> <object name="resource.editor_main"></object> <object name="resource.edf"></object> </group> <group name="raceACLGroup"> <acl name="Default"></acl> <acl name="raceACL"></acl> <object name="resource.race"></object> </group> <group name="DevGroup"> <acl name="DevACL"></acl> </group> <group name="autoGroup_acpanel"> <acl name="autoACL_acpanel"></acl> <object name="resource.acpanel"></object> </group> <acl name="Default"> <right name="general.ModifyOtherObjects" access="false"></right> <right name="general.http" access="false"></right> <right name="command.start" access="false"></right> <right name="command.stop" access="false"></right> <right name="command.stopall" access="false"></right> <right name="command.gamemode" access="false"></right> <right name="command.changemode" access="false"></right> <right name="command.changemap" access="false"></right> <right name="command.stopmode" access="false"></right> <right name="command.stopmap" access="false"></right> <right name="command.skipmap" access="false"></right> <right name="command.restart" access="false"></right> <right name="command.refresh" access="false"></right> <right name="command.refreshall" access="false"></right> <right name="command.addaccount" access="false"></right> <right name="command.delaccount" access="false"></right> <right name="command.debugscript" access="false"></right> <right name="command.chgpass" access="false"></right> <right name="command.loadmodule" access="false"></right> <right name="command.unloadmodule" access="false"></right> <right name="command.reloadmodule" access="false"></right> <right name="command.upgrade" access="false"></right> <right name="command.mute" access="false"></right> <right name="command.crun" access="false"></right> <right name="command.srun" access="false"></right> <right name="command.run" access="false"></right> <right name="command.unmute" access="false"></right> <right name="command.kick" access="false"></right> <right name="command.ban" access="false"></right> <right name="command.banip" access="false"></right> <right name="command.unbanip" access="false"></right> <right name="command.reloadbans" access="false"></right> <right name="command.shutdown" access="false"></right> <right name="command.install" access="false"></right> <right name="command.aexec" access="false"></right> <right name="command.whois" access="false"></right> <right name="command.whowas" access="false"></right> <right name="command.aclrequest" access="false"></right> <right name="command.authserial" access="false"></right> <right name="function.executeCommandHandler" access="false"></right> <right name="function.setPlayerMuted" access="false"></right> <right name="function.addAccount" access="false"></right> <right name="function.addBan" access="false"></right> <right name="function.setUnbanTime" access="false"></right> <right name="function.setBanAdmin" access="false"></right> <right name="function.setBanReason" access="false"></right> <right name="function.setBanNick" access="false"></right> <right name="function.removeBan" access="false"></right> <right name="function.removeAccount" access="false"></right> <right name="function.setAccountPassword" access="false"></right> <right name="function.kickPlayer" access="false"></right> <right name="function.banIP" access="false"></right> <right name="function.banPlayer" access="false"></right> <right name="function.banSerial" access="false"></right> <right name="function.getBansXML" access="false"></right> <right name="function.unbanIP" access="false"></right> <right name="function.unbanSerial" access="false"></right> <right name="function.reloadBans" access="false"></right> <right name="function.setServerPassword" access="false"></right> <right name="function.getServerPassword" access="false"></right> <right name="function.callRemote" access="false"></right> <right name="function.fetchRemote" access="false"></right> <right name="function.startResource" access="false"></right> <right name="function.stopResource" access="false"></right> <right name="function.restartResource" access="false"></right> <right name="function.createResource" access="false"></right> <right name="function.copyResource" access="false"></right> <right name="function.addResourceMap" access="false"></right> <right name="function.addResourceConfig" access="false"></right> <right name="function.removeResourceFile" access="false"></right> <right name="function.setResourceDefaultSetting" access="false"></right> <right name="function.removeResourceDefaultSetting" access="false"></right> <right name="function.redirectPlayer" access="false"></right> <right name="function.aclReload" access="false"></right> <right name="function.aclSave" access="false"></right> <right name="function.aclCreate" access="false"></right> <right name="function.aclDestroy" access="false"></right> <right name="function.aclSetRight" access="false"></right> <right name="function.aclRemoveRight" access="false"></right> <right name="function.aclCreateGroup" access="false"></right> <right name="function.aclDestroyGroup" access="false"></right> <right name="function.aclGroupAddACL" access="false"></right> <right name="function.aclGroupRemoveACL" access="false"></right> <right name="function.aclGroupAddObject" access="false"></right> <right name="function.aclGroupRemoveObject" access="false"></right> <right name="function.refreshResources" access="false"></right> <right name="function.setServerConfigSetting" access="false"></right> <right name="function.updateResourceACLRequest" access="false"></right> <right name="function.shutdown" access="false"></right> </acl> <acl name="Moderator"> <right name="general.ModifyOtherObjects" access="false"></right> <right name="command.gamemode" access="true"></right> <right name="command.changemode" access="true"></right> <right name="command.changemap" access="true"></right> <right name="command.stopmode" access="true"></right> <right name="command.stopmap" access="true"></right> <right name="command.skipmap" access="true"></right> <right name="command.mute" access="true"></right> <right name="command.unmute" access="true"></right> <right name="command.whois" access="true"></right> <right name="command.whowas" access="true"></right> <right name="function.setPlayerMuted" access="true"></right> <right name="function.kickPlayer" access="true"></right> <right name="function.banIP" access="true"></right> <right name="function.banPlayer" access="true"></right> <right name="function.banSerial" access="true"></right> <right name="function.getBansXML" access="true"></right> <right name="function.unbanIP" access="true"></right> <right name="function.unbanSerial" access="true"></right> <right name="function.startResource" access="true"></right> <right name="function.stopResource" access="true"></right> <right name="function.restartResource" access="true"></right> <right name="function.redirectPlayer" access="true"></right> </acl> <acl name="SuperModerator"> <right name="general.ModifyOtherObjects" access="false"></right> <right name="command.start" access="true"></right> <right name="command.stop" access="true"></right> <right name="command.restart" access="true"></right> <right name="command.kick" access="true"></right> <right name="command.ban" access="true"></right> <right name="command.banip" access="true"></right> <right name="command.unbanip" access="true"></right> <right name="command.reloadbans" access="true"></right> <right name="command.refresh" access="true"></right> <right name="command.refreshall" access="true"></right> <right name="command.loadmodule" access="true"></right> <right name="command.unloadmodule" access="true"></right> <right name="command.reloadmodule" access="true"></right> <right name="command.addaccount" access="true"></right> <right name="command.delaccount" access="true"></right> <right name="command.chgpass" access="true"></right> <right name="function.addAccount" access="true"></right> <right name="function.removeAccount" access="true"></right> <right name="function.setAccountPassword" access="true"></right> </acl> <acl name="Admin"> <right name="general.ModifyOtherObjects" access="true"></right> <right name="general.http" access="true"></right> <right name="command.shutdown" access="true"></right> <right name="command.install" access="true"></right> <right name="command.aexec" access="true"></right> <right name="command.debugscript" access="true"></right> <right name="command.upgrade" access="true"></right> <right name="command.crun" access="true"></right> <right name="command.srun" access="true"></right> <right name="command.run" access="true"></right> <right name="command.aclrequest" access="true"></right> <right name="command.authserial" access="true"></right> <right name="function.addBan" access="true"></right> <right name="function.setUnbanTime" access="true"></right> <right name="function.setBanAdmin" access="true"></right> <right name="function.setBanReason" access="true"></right> <right name="function.setBanNick" access="true"></right> <right name="function.removeBan" access="true"></right> <right name="function.reloadBans" access="true"></right> <right name="function.executeCommandHandler" access="true"></right> <right name="function.setServerPassword" access="true"></right> <right name="function.getServerPassword" access="true"></right> <right name="function.createResource" access="true"></right> <right name="function.copyResource" access="true"></right> <right name="function.addResourceMap" access="true"></right> <right name="function.addResourceConfig" access="true"></right> <right name="function.removeResourceFile" access="true"></right> <right name="function.setResourceDefaultSetting" access="true"></right> <right name="function.removeResourceDefaultSetting" access="true"></right> <right name="function.aclReload" access="true"></right> <right name="function.aclSave" access="true"></right> <right name="function.aclCreate" access="true"></right> <right name="function.aclDestroy" access="true"></right> <right name="function.aclSetRight" access="true"></right> <right name="function.aclRemoveRight" access="true"></right> <right name="function.aclCreateGroup" access="true"></right> <right name="function.aclDestroyGroup" access="true"></right> <right name="function.aclGroupAddACL" access="true"></right> <right name="function.aclGroupRemoveACL" access="true"></right> <right name="function.aclGroupAddObject" access="true"></right> <right name="function.aclGroupRemoveObject" access="true"></right> <right name="function.refreshResources" access="true"></right> <right name="function.setServerConfigSetting" access="true"></right> <right name="function.updateResourceACLRequest" access="true"></right> <right name="function.setMaxPlayers" access="true"></right> <right name="function.shutdown" access="true"></right> </acl> <acl name="RPC"> <right name="function.callRemote" access="true"></right> <right name="function.fetchRemote" access="true"></right> </acl> <acl name="MapEditor"> <right name="general.ModifyOtherObjects" access="true"></right> <right name="function.startResource" access="true"></right> <right name="function.stopResource" access="true"></right> <right name="function.restartResource" access="true"></right> <right name="function.createResource" access="true"></right> <right name="function.copyResource" access="true"></right> <right name="function.renameResource" access="true"></right> <right name="function.deleteResource" access="true"></right> <right name="function.addResourceMap" access="true"></right> <right name="function.addResourceConfig" access="true"></right> <right name="function.removeResourceFile" access="true"></right> <right name="function.setResourceDefaultSetting" access="true"></right> <right name="function.removeResourceDefaultSetting" access="true"></right> <right name="function.xmlLoadFile" access="true"></right> <right name="function.refreshResources" access="true"></right> </acl> <acl name="raceACL"> <right name="general.ModifyOtherObjects" access="true"></right> <right name="function.xmlLoadFile" access="true"></right> <right name="function.startResource" access="true"></right> <right name="function.stopResource" access="true"></right> <right name="function.restartResource" access="true"></right> </acl> <acl name="DevACL"> <right name="resource.performancebrowser.http" access="true"></right> <right name="resource.ajax.http" access="true"></right> </acl> <acl name="autoACL_acpanel"> <right name="function.setServerConfigSetting" access="false" who="" pending="true" date=""></right> <right name="function.kickPlayer" access="false" who="" pending="true" date=""></right> <right name="function.fetchRemote" access="false" who="" pending="true" date=""></right> </acl> </acl>
  10. Nah szóval megvan! Itt van 1.png ezen látszik a betöltés warning 2.png 3.png
  11. 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) Erre dob egy warningot
  12. 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
  13. 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
  14. 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
  15. 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 ;)