Page cover

Installation Guide

Dependencies

Dependency
Description

qb-core / qbx_core or es_extended

Framework

qb-target / qtarget / ox_target

sd_lib

Important Library

ox_lib

Important Library

Supported Maps

K4MB1's Mapping or NP Mapping

Supported Minigames

Each hack in the resource supports all of the following minigames. At least one of these minigames is required for the script to function:

Minigame
Supported Games

ps-ui

circle, maze, carhack, thermite, scrambler

memorygame

ran-minigames

memorycard, terminal

howdy-hackminigame

hacking

sn-hacking

memorygame, skillcheck, thermite, keypad, colorpicker

rm_minigames

typinggame, timelockpick, timedaction, quicktimeevent, combinationlock, buttonmashing, hotwirehack, hackerminigame, safecrack

Installation Steps

1. Add Items

  1. Open items.lua: Navigate to ox_inventory/data/items.lua.

  2. Add the Following Items: Insert the following code into the items.lua file:

    ["yachtcodes"] = {
        label = "Yacht Access Codes",
        weight = 200,
        stack = false,
        close = true,
        description = "The first half of codes for the Yacht",
        consume = 0,
        client = {
            image = "yachtcodes.png",
        },
        server = {
            export = 'sd-yacht.useYachtcodes',
        }
    },
    
    ["casinocodes"] = {
        label = "Casino Access Codes",
        weight = 200,
        stack = false,
        close = true,
        description = "The first half of codes for the Casino",
        consume = 0,
        client = {
            image = "casinocodes.png",
        },
        server = {
            export = 'sd-yacht.useCasinocodes',
        }
    },
    
    ["secured_safe"] = {
        label = "Safe",
        weight = 200,
        stack = false,
        close = true,
        description = "Meant to protect valuables",
        consume = 0,
        client = {
            image = "secured_safe.png",
        },
    },
    
    ["expensive_champagne"] = {
        label = "Champagne",
        weight = 200,
        stack = true,
        close = true,
        description = "A sparkling wine from France",
        consume = 0,
        client = {
            image = "expensive_champagne.png",
        },
    },
    
    ["default_gateway_override"] = {
        label = "Gateway Override",
        weight = 200,
        stack = false,
        close = true,
        description = "A default gateway override on a usb",
        consume = 0,
        client = {
            image = "default_gateway_override.png",
        },
    },
    
    ["revivekit"] = {
        label = "Revival Kit",
        weight = 3000,
        stack = false,
        close = false,
        description = "When your pal needs that pick me up",
        consume = 0,
        client = {
            image = "revivekit.png",
        },
        server = {
            export = 'sd-yacht.useRevivekit',
        }
    },
    

2. Copy Images

Copy the corresponding item images to the images folder of your inventory.

Additional Notes

  1. Restarting the resource whilst ingame without relogging WILL cause it to break. The oilrig spawn check is performed on the 'onPlayerLoaded' event, which only triggers upon initial player loading. To effectively edit and test out code, without having the need to relog everytime, you can change the Config.HasSpawnedInOilrig in the Config to false. Make sure to set it back to true once the script is ready for your Live Server.

Last updated