dependencies & minigames

Dependencies

MLO Used

Minigames

If you wanna use a different set of minigames edit ./shared/functions.lua

filo_vehiclekey/shared/functions.lua
function Lockpick(isAdvanced)
    local lockpickStr = isAdvanced and 0.75 or 0.5

    if GetResourceState("filo_skills"):find("start") then
        local skills = exports.filo_skills
        if skills:HasLevel("Lockpicking", 2, 4) then
            lockpickStr = lockpickStr + 0.02
        elseif skills:HasLevel("Lockpicking", 4, 6) then
            lockpickStr = lockpickStr + 0.05
        elseif skills:HasLevel("Lockpicking", 6, 8) then
            lockpickStr = lockpickStr + 0.09
        elseif skills:HasLevel("Lockpicking", 8, 10) then
            lockpickStr = lockpickStr + 0.1
        end

    end
    return exports.t3_lockpick:startLockpick(lockpickStr)
end

function Hotwire()
    return exports.ez_electricminigame:WiringFix(30)
end

Last updated