Jump to content

Rubin

Members
  • Posts

    46
  • Joined

  • Last visited

Posts posted by Rubin

  1. Salut am făcut un sv de dayz și am pus moduri e făcut tot complet pe pc merge super bine , l-am urcat pe host și la unele moduri arată în consolă:

    EX: ERROR: Couldn't find resource a-militar5.

    În mtaserver.conf e trecut.

    Dar faza e că dacă-l pun pe pc pornește!

  2. 1 - Când pun un mod , dacă mașina are 2 țăvii de eșapament să fac să iasă doar pe una sau invers

    2- Dacă modul de mașină atinge pe jos cu fac să o ridic puțin mai sus..

    Cam atât vă mulțumesc..

  3. uite scriptul

    createMarker ( 632.587890625, -1239.1572265625, 17.666263580322 , string theType = checkpoint, float size = 4.0, int r = 0, int g = 0, int b = 255, int a = 255, visibleTo = getRootElement( ) )

  4. Ce am gresit aici? De nu merge?

    --download system 
      
    local numberOfIndex = { "585.txd", "585.dff" } 
      
    addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), 
        function () 
            for _, index in ipairs ( numberOfIndex ) do 
                if fileExists( index ) then 
                    setElementData(localPlayer, "modsDownloaded", true) 
                return 
            end 
            executeCommandHandler("checkthisshit") 
            setElementData(localPlayer, "modsDownloaded", false) 
            exports.download:downloadFile("".. index .."", "".. index .."", 500) 
            outputChatBox("".. index .."", localPlayer, 255, 0, 200, false) 
            exports.download:downloadFile("585.dff", "585.dff", 500) 
        end 
    end 
    ) 
      
      
    addEventHandler("onClientDownloadComplete", getRootElement(), -- woowww super long function. I think this could be done way shorter. (im a newb) 
    function (theFile) 
        if theFile == ":Mods/585.txd" then 
            outputChatBox("585.txd has been downloaded!", localPlayer, 255, 255, 255, false) 
        end 
        if theFile == ":Mods/585.dff" then 
            outputChatBox("585.dff has been downloaded!", localPlayer, 255, 255, 255, false) 
            triggerEvent("downloadWindowFalse", localPlayer) 
            setElementData(localPlayer, "modsDownloaded", true)  
        end 
    end 
    ) 
    

        <file src="585.txd" download="false"/> 
        <file src="585.dff" download="false"/> 
      
    

×
×
  • Create New...