Configuration

Below we have explained some of the key features found in our Config file within the Prop Menu Script.


Framework

Select your framework

Config.Framework = 'qbcore' -- Options: 'qbcore', 'qbox', 'esx'

Set the required Command and if you want to use a Keybind as well.

Config.Command = 'props'
Config.Keybind = {
    Enabled = true,
    Key = 166,
}

Authorised Jobs

You can set the Jobs that will be allowed to open the Menu and placeprops as well as deleting props. Multiple jobs are permitted.

Config.JobRestrictions = {
    Enabled = true,
    AllowedJobs = {
        'police',
        'mechanic',
        -- Add more jobs here
    }
}

Movement Settings

Depending on whether you want your props to move around fast or be able to place them slowly and accurately you can adjust these settings to your liking.


Keybindings

The Keybindings to move the prop around during placement and can be customised in the Config file to ensure it doesn't clash with other scripts you may have. The keybinds can be found here -> CLICK HERE


Placement Settings

If you want your prop to spawn closer to your character or further away you will need to tweak these settings, You may also want the Snap to Ground function only to be active when you enable it in game. Thats fine just tweak these settings to suit your placement style.


Prop Deletion

Deleting the prop is fairly easy unless you mess around with the below coding too much. All you simply have to do is activate the Deletion tool via your configured keybind and then look at the prop. It will be outlined in red with the name coming up if the prop has successfully been found. It's worth noting that if the name doesn't come up you will need to move slightly for the prop to be within the below parameters.


Config File before edits

Last updated