Configuration
The Config File will allow you to set the various settings required to get the resource working as designed but adapted for your servers needs.
Config = {}
Config.Command = "CHANGE ME" -- You can change this to resolve conflicts with other scripts.
Config.Jobs = { "CHANGE ME" } -- You can only have one job with access to this menu.
Config.Debug = false
Config.CheckTime = 1800
--██╗░░██╗███████╗██╗░░░██╗██████╗░██╗███╗░░██╗██████╗░░██████╗
--██║░██╔╝██╔════╝╚██╗░██╔╝██╔══██╗██║████╗░██║██╔══██╗██╔════╝
--█████═╝░█████╗░░░╚████╔╝░██████╦╝██║██╔██╗██║██║░░██║╚█████╗░
--██╔═██╗░██╔══╝░░░░╚██╔╝░░██╔══██╗██║██║╚████║██║░░██║░╚═══██╗
--██║░╚██╗███████╗░░░██║░░░██████╦╝██║██║░╚███║██████╔╝██████╔╝
--╚═╝░░╚═╝╚══════╝░░░╚═╝░░░╚═════╝░╚═╝╚═╝░░╚══╝╚═════╝░╚═════╝░
Config.Buttons = {
MoveForwards = 111,
MoveBackwards = 112,
MoveLeft = 108,
MoveRight = 109,
MoveUp = 172,
MoveDown = 173,
RotateForwards = 117,
RotateBackwards = 118,
RotateLeft = 174,
RotateRight = 175,
SnapToGround = 38,
SaveProp = 176,
}
-- USE THESE CFX KEYBINDS FROM THE OFFICIAL SITE BELOW --
--https://docs.fivem.net/docs/game-references/controls/--
--██████╗░██████╗░░█████╗░██████╗░░██████╗
--██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔════╝
--██████╔╝██████╔╝██║░░██║██████╔╝╚█████╗░
--██╔═══╝░██╔══██╗██║░░██║██╔═══╝░░╚═══██╗
--██║░░░░░██║░░██║╚█████╔╝██║░░░░░██████╔╝
--╚═╝░░░░░╚═╝░░╚═╝░╚════╝░╚═╝░░░░░╚═════╝░
Config.Props = {
-- ['custom_menu'] = { --THIS TEMPLATE IS HOW SUBFOLDERS SHOULD BE LAYED OUT
-- label = "custom label",
-- props = {
-- ['MODEL NAME GOES HERE'] = {
-- label = "Description of the prop for easy identification"
-- },
-- ['MODEL NAME GOES HERE'] = {
-- label = "Description of the prop for easy identification"
-- },
-- }
-- },
['speedprops'] = {
label = "Small Props",
props = {
['SG_20mph'] = {
label = "20mph Sign"
},
['SG_30mph'] = {
label = "30mph Sign"
},
['SG_40mph'] = {
label = "40mph Sign"
},
['SG_50mph'] = {
label = "50mph Sign"
},
['SG_60mph'] = {
label = "60mph Sign"
},
['SG_national'] = {
label = "National Speed Sign"
},
}
},
['smallprops'] = {
label = "Small Props",
props = {
['sg_roadcone_clean'] = {
label = "Highway Cone"
},
['sg_roadcone_clean_stack'] = {
label = "Highway Cone Stack"
},
}
},
['signprops'] = {
label = "Signs",
props = {
['SG_LLC0'] = {
label = "Left-Lane Closed 0yds"
},
['SG_LLC2'] = {
label = "Left-Lane Closed 200yds"
},
['SG_LLC4'] = {
label = "Left-Lane Closed 400yds"
},
['SG_LLC6'] = {
label = "Left-Lane Closed 600yds"
},
['SG_LLC8'] = {
label = "Left-Lane Closed 800yds"
},
['SG_RLC0'] = {
label = "Right-Lane Closed 0yds"
},
['SG_RLC2'] = {
label = "Right-Lane Closed 200yds"
},
['SG_RLC4'] = {
label = "Right-Lane Closed 400yds"
},
['SG_RLC6'] = {
label = "Right-Lane Closed 600yds"
},
['SG_RLC8'] = {
label = "Right-Lane Closed 800yds"
},
['SG_FRLC0'] = {
label = "Far Right-Lane Closed 0yds"
},
['SG_FRLC2'] = {
label = "Far Right-Lane Closed 200yds"
},
['SG_FRLC4'] = {
label = "Far Right-Lane Closed 400yds"
},
['SG_FRLC6'] = {
label = "Far Right-Lane Closed 600yds"
},
['SG_FRLC8'] = {
label = "Far Right-Lane Closed 800yds"
},
['SG_FLLC0'] = {
label = "Far Left-Lane Closed 0yds"
},
['SG_FLLC2'] = {
label = "Far Left-Lane Closed 200yds"
},
['SG_FLLC4'] = {
label = "Far Left-Lane Closed 400yds"
},
['SG_FLLC6'] = {
label = "Far Left-Lane Closed 600yds"
},
['SG_FLLC8'] = {
label = "Far Left-Lane Closed 800yds"
},
['SG_FLLO0'] = {
label = "Far Left-Lane Open 0yds"
},
['SG_FLLO2'] = {
label = "Far Left-Lane Open 200yds"
},
['SG_FLLO4'] = {
label = "Far Left-Lane Open 400yds"
},
['SG_FLLO6'] = {
label = "Far Left-Lane Open 600yds"
},
['SG_FLLO8'] = {
label = "Far Left-Lane Open 800yds"
},
['SG_FRLO0'] = {
label = "Far Right-Lane Open 0yds"
},
['SG_FRLO2'] = {
label = "Far Right-Lane Open 200yds"
},
['SG_FRLO4'] = {
label = "Far Right-Lane Open 400yds"
},
['SG_FRLO6'] = {
label = "Far Right-Lane Open 600yds"
},
['SG_FRLO8'] = {
label = "Far Right-Lane Open 800yds"
},
['SG_RWAE'] = {
label = "Roadworks End"
},
['SG_RWADP'] = {
label = "Roadworks Delays Possible"
},
}
},
['arrowprops'] = {
label = "Arrows",
props = {
['SG_ARRIG'] = {
label = "Arrow Right"
},
['SG_ARLEF'] = {
label = "Arrow Left"
},
}
},
['barriers'] = {
label = "Barriers",
props = {
['sg_red_roadbarrier'] = {
label = "Red Barrier"
},
['sg_white_roadbarrier'] = {
label = "White Barrier"
},
['SG_CBAL'] = {
label = "Angle Left Concrete Barrier"
},
['SG_CBAR'] = {
label = "Angle Right Concrete Barrier"
},
['SG_CBSD'] = {
label = "Slope Drop Concrete Barrier"
},
['SG_CBSL'] = {
label = "Long Concrete Barrier"
},
['SG_CBSS'] = {
label = "Short Concrete Barrier"
},
['SG_CBTS'] = {
label = "Twin Split Concrete Barrier"
},
}
}
}
Last updated