[REQUEST] Money Launder job script. (Super Simple)

esx_launderjob

Required Features:

  • Employee and Salary Management
  • Society Owned Vehicles
    a) Dubsta
  • Society Vault for items and weapons
  • Money Wash Option
    a) Ability to change wash percentage (Default 60%)
    b) Only Launder+ have access to this
  • Job Label = Money Launder
  • Job Grades = Recruit, Launder, Boss
    a) Recruit can only put objects in the vault (not weapons) and can get vehicles out and in that is all
    b) Launder can access money wash, vehicles, and can put in/get out both objects and weapons
    c) Boss can do everything; money wash, vehicles, weapons stock, object stock, and employee and salary management
  • Location (Anywhere, I will configure that later)

I quickly made a config.lua for it, but it is not correct so I recommend making a new one)

Config					= {}

Config.DrawDistance 			= 100.0
Config MarkerType			= 25
Config.MarkerSize			= {x = 1.5, y = 1.5, z = 0.5}
Config.MarkerColor                      = {r = 255, g = 102, b = 0}

Config.EnablePlayerManagement		= true
Config.EnableSocietyOwnedVehicles 	= true
Config.EnableVaultManagement      	= true


Config.AuthorizedVehicles = {
    { name = 'Dubsta2',  label = 'Launder Vehicle' },
}

Config.Zones = {

	Vaults = {
        Pos   = { x = 93.406, y = -1291.753, z = 28.288 },
        Size  = { x = 1.3, y = 1.3, z = 1.0 },
        Color = { r = 30, g = 144, b = 255 },
        Type  = 23,
    },

    Vehicles = {
        Pos          = { x = 137.177, y = -1278.757, z = 28.371 },
        SpawnPoint   = { x = 138.436, y = -1263.095, z = 28.626 },
        Size         = { x = 1.8, y = 1.8, z = 1.0 },
        Color        = { r = 255, g = 255, b = 0 },
        Type         = 23,
        Heading      = 207.43,
    },

    VehicleDeleters = {
        Pos   = { x = 133.203, y = -1265.573, z = 28.396 },
        Size  = { x = 3.0, y = 3.0, z = 0.2 },
        Color = { r = 255, g = 255, b = 0 },
        Type  = 1,
    },

    BossActions = {
        Pos   = { x = 94.951, y = -1294.021, z = 28.268 },
        Size  = { x = 1.5, y = 1.5, z = 1.0 },
        Color = { r = 0, g = 100, b = 0 },
        Type  = 1,
    },