Appropriate OneSync (Legacy, Infinity), ESX 1.X (all launch variations ought to work, if not open a ticket)

Out there languages: English, French

Depedencies: ESX, mysql-async, menuv

No IP-Lock/Obfsucation !

BUY IT HERE: https://s1nscripts.tebex.io/package/4617725

Preview

What does the script convey ?

It’s a system of garages. Gamers will be capable of buy garages to retailer their automobiles. They’ll additionally invite their pals inside.

What are the options ?

  • Purchase garages (the participant can see with a digital camera outdoors of the storage)

  • Add/Take away/Exchange automobiles to the storage

  • Invite pals to his storage

  • Logs with discord webhook

  • Appropriate with all IPL (simply add the coords to the config)

I wish to customise the script, what is obtainable to me ?

  • You’ll be able to modify the formatting cash operate

  • You’ll be able to modify the notification operate to adapt to your scripts

  • You’ll be able to modify the take away car operate

  • You’ll be able to modify the way in which to get/set car knowledge

  • You’ll be able to customise what occurs when a participant disconnect

  • You’ll be able to customise the verification of plate possession

How is the configuration file introduced?

Config = {
    debugMode = true, -- Create messages on F8 (client-side) and the terminal (server-side) with a purpose to confirm the script's logic. Requires for builders.
    teleportToGarageExitOnDisconnect = true, -- If somebody disconnect from the server in a storage, set to true will teleport him to the closest storage exit.
    detectAreaTeleportToExit = 30.0, -- If teleportToGarageExitOnDisconnect is about to true, it should detect within the participant's space with this radius to verify for exits.
    triggers = { -- Triggers names, verify with yours if they're the identical.
        getESX = "esx:getSharedObject"
    },
    discord = {
        allow = false, -- true = allow discord integration, false = disable discord integration
        webhookURL = "",
        username = "S1n_garages Logs",
        shade = 15844367,
        title = "Participant log"
    },
    npcs = { -- Record of NPCs
        {
            place = vector3(109.24, -636.58, 44.24), -- Place of the NPC
            heading = 71.00, -- Heading of the NPC
            mannequin = "csb_reporter", -- Mannequin of the NPC
            useDistance = 2.0, -- Distance between the Participant and the NPC with a purpose to work together with it.
    
            blipColor = 69, -- Shade of the blip (on the map)
            blipSprite = 369, -- Sprite of the blip (on the map), listing of all blips : https://docs.fivem.web/docs/game-references/blips/
            blipText = "Storage vendor" -- Textual content of the blip (on the map)
        }
    },
    --[[
        IMPORTANT:
        The [id] = {identify, worth..} is essential. The id signify the storage, don't modify it or the participant's may have totally different garages. 
        While you add a storage, add 1 to the id with a purpose to improve it. Have a look at the examples under.

        That will help you create garages, GTA default garages positions are:
        2 locations: 179.08 -1001.49 -99.0
        6 locations: 206.25 -1018.36 -99.0
        8 locations: 240.55 -1004.81 -98.98
        Many locations (+10): 1581.1120 -567.2450 85.5
    ]]
    garages = { -- 3 Examples of differents kinds of GTA garages
        [1] = { -- ID of the storage
            identify = "47 Grove Polow", -- Identify of the storage
            worth = 2500, -- Worth of the storage

            blipPosition = vector3(37.13, -907.6, 30.92), -- Blip place of the storage (on the map)
            blipText = "Storage 2 locations", -- Blip textual content of the storage (on the map)
            blipColor = 5, -- Blip shade of the storage (on the map)
            blipSprite = 357, -- Blip sprite of the storage (on the map)

            -- IMPORTANT: All the time preserve the decimal numbers in any other case it will not work
            digital camera = {place = vector3(40.9, -892.58, 33.69), heading = 168.1}, -- Digicam place within the menu

            spawnCoords = {place = vector3(179.08, -1001.49, -99.0), heading = 177.15}, -- Spawn place within the storage
            leaveSpawnCoords = {place = vector3(41.07, -899.18, 29.98), heading = 353.69}, -- Exit storage place with or with out car (preserve it in thoughts, you could have sufficient areas)

            -- IMPORTANT: watch out with the positions with a purpose to confirm that each one kinds of car can spawn !
            vehiclePositions = { -- Variety of positions is expounded to the variety of locations within the storage
                {place = vector3(174.94, -1004.14, -99.00), heading = 182.46}, -- Place of a car
                {place = vector3(171.71, -1004.23, -99.00), heading = 182.46}, -- Place of a car
            },

            inviteFriends = {
                areaPosition = vector3(38.51, -901.61, 29.99), -- Place the place you need the buddies to be whenever you invite them to your storage
                areaDetectPlayers = 30.0, -- Space across the place with a purpose to detect gamers who desires to acquired into your storage after they being invited.
                marker = {
                    sort = 20, -- Marker sort (see https://docs.fivem.web/docs/game-references/markers/ for the listing)
                    useDistance = 1.5, -- Distance between the Participant and the marker with a purpose to work together with it.
                    measurement = vector3(1.5, 1.5, 1.0), -- Measurement of the marker in X, Y, Z measurement
                    shade = vector3(120, 120, 240), -- Shade of the marker in R, G, B 
                    place = vector3(177.03, -1008.2, -99.0) -- Place of the marker
                }
            },

            blackListVehicles = { -- Hash listing of automobiles blacklist from the storage, a hash is the quantity that represents the car
                ["vehicleHash"] = true, -- Comply with this instance and exchange the `vehicleHash` by your hash
            }
        },
    }   
}

Any solutions or questions ?

Please write them down under within the feedback part.



Looking for paid scripts? Click here