⚙️ Configuration Details

⚙️ Configuration Details

The system includes various customizable parameters in config.lua. Example:

PA = {
    Interaction = {
        Target = "qb-target" -- Choose between "qb-target" or "ox_target"
    },
    TargetText = "Play Air Conditioner",
    StartText = "Start robbery",
    SellText = "Sell Air Conditioners",
    
    StartPed = {
        model = "s_m_m_highsec_01",
        coords = vector3(-369.82, -101.7, 39.54),
        heading = 165.0
    },  

    SellPed = {
        model = "s_m_m_highsec_01",
        coords = vector3(-441.02,1595.05,358.47),
        heading = 232.0
    },

    SellItems = {
        lockpick = 100,  -- 1 Lockpick = $100
        screwdriver = 150, -- 1 Screwdriver = $150
        goldbar = 500 -- 1 Gold Bar = $500
    },    

    Areas = {
        {
            name = "Downtown",
            coords = vector3(-157.01, 311.06, 102.14),
            TotalCount = 11, -- 11 air conditioners can be stolen in this area
            AC_Props = {
                { model = "prop_aircon_m_06", coords = vector3(-157.01, 311.06, 102.14) , requiredItem = "lockpick"},
                { model = "prop_aircon_m_04", coords = vector3(-157.58, 308.64, 102.14) , requiredItem = "lockpick"},
                { model = "prop_aircon_m_04", coords = vector3(-161.18, 308.64, 102.14) , requiredItem = "lockpick"},
                { model = "prop_aircon_m_06", coords = vector3(-147.81, 306.77, 102.14) , requiredItem = "lockpick"},
            }
        },
    },
    WaitTime = { min = 5, max = 10 },
}

Key Configuration Options

  • Interaction.Target: Select between qb-target or ox_target.

  • RequiredItem: Specifies the tool needed to detach AC units (lockpick).

  • WaitTime: Defines the random time range required to steal an AC unit.

  • Police Alert System: Can be customized or integrated with ps-dispatch.

  • Sell Locations & Items: Configure where AC units and additional items can be sold.

🚀 Conclusion

The PA Roof Running System provides an immersive and thrilling rooftop theft experience for FiveM servers. With multiplayer support, police integration, and realistic carrying mechanics, this system adds depth and teamwork to high-risk criminal activities. Customize it to fit your server’s economy and crime mechanics for an exciting roleplay experience!

Last updated

Was this helpful?