Skip to content

Deliver and or Pick-Up Services via K4MB1's FiveM PostOP MLO - Built for the QBCore Framework

License

Notifications You must be signed in to change notification settings

Constant-Development/cr-postop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cr-postop

PostOP Job System

Constant Development Discord Constant Development Tebex Constant RolePlay Discord

Within this Resource, you will have a Job System based on the PostOP MLO. Being said, understand that this Job will be intricated over-time and is planned to contain 0 Direct Depedencies other than the MLO itself. With that, expect the Resource to contain multiple different Configurable Options within Config.Framework.

To further add onto that, this Resource currently contains the following:

  • Intricated Management Menu System
  • Contains Toggle Duty Factors
  • Contains Boss/Management Menu Factors
  • Hidden Room Box Movement Factor
  • Intricated Forgery Table
  • Intricated Money Table
  • Intricated Stash System
  • PostOP MLO Doorlocks
  • External Sounds and Images

Dependencies:

MLO:

Optionals:

Optional Targets:

Optional Notifications:

Optional Doorlocks System:

Optional Clothing Menus:

Optional Minigame:

Optional Forgery Table:

  • Note, you only need this Resource due to us using it to 'implement' the Forgery Table

Installation

  • If you encounter any issues whilst Installing or Using/Enforcing this Resource, please feel free to Open a Ticket within the Constant Development Discord.

qb-core/shared/items.lua

  • Add the following Snippet into your Items List
    ['postopkey'] = {
        ["name"] = "postopkey",
        ["label"] = "Key 0034",
        ["weight"] = 200,
        ["type"] = "item",
        ["image"] = "meth_key.png",
        ["unique"] = false,
        ["useable"] = true,
        ["shouldClose"] = true,
        ["combinable"] = nil,
        ["description"] = "Key",
        ["created"] = nil,
        ["decay"] = 16.0
    },
    ['postopmasterkey'] = {
        ["name"] = "postopmasterkey",
        ["label"] = "Key 0035",
        ["weight"] = 200,
        ["type"] = "item",
        ["image"] = "meth_key.png",
        ["unique"] = false,
        ["useable"] = true,
        ["shouldClose"] = true,
        ["combinable"] = nil,
        ["description"] = "Key",
        ["created"] = nil,
        ["decay"] = 16.0
    },

qb-core/shared/jobs.lua

  • Add the following Snippet into your Jobs List
    ['postop'] = {
		label = 'Post OP',
		defaultDuty = false,
		offDutyPay = false,
		grades = {
            ['0'] = {
                name = 'Trainee',
                payment = 150
            },
            ['1'] = {
                name = 'Delivery Driver',
                payment = 200
            },
            ['2'] = {
                name = 'Warehouse Stocker',
                payment = 250
            },
            ['3'] = {
                name = 'Assistant Manager',
                payment = 400
            },
            ['4'] = {
                name = 'Manager',
                isboss = true,
                payment = 450
            },
            ['5'] = {
                name = 'CEO',
                isboss = true,
                payment = 600
            },
        },
	},

Doorlocks Factor

  • Implement the 'Doorlock' File into (nui/qb)_doorlock/configs
  • Make sure that you have metal-locker.ogg and metallic-creak.ogg inside of (nui/qb)_doorlock/html/sounds

Optional Installations"

qb-smallresources/server/logs.lua

  • If using Logs --> qb-smallresources/server/logs.lua | Add the following within local Webhooks {}
    ['constantdevelopmentpostop'] = 'YOUR_WEBHOOK_HERE',

qb-clothing/client/main.lua

  • If using QBCore Clothing --> qb-clothing/client/main.lau | Add the following snippet,
RegisterNetEvent('qb-clothing:client:openClothingBoothMenu')
AddEventHandler('qb-clothing:client:openClothingBoothMenu', function()
    customCamLocation = nil
    openMenu({
        {menu = "character", label = "Character", selected = false},
        {menu = "clothing", label = "Features", selected = true},
        {menu = "accessoires", label = "Accessories", selected = true}
    })
end)

About

Deliver and or Pick-Up Services via K4MB1's FiveM PostOP MLO - Built for the QBCore Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages