T1GER Scripts Documentation
Tebex StoreDiscordYouTubeCFX Forum
  • T1GER Scripts Documentation
  • Quick Links
    • t1ger.net | Shop Now
    • Join Discord
  • Information
    • FiveM Asset Escrow
  • Resources
    • T1GER Mechanic
      • Installation
        • Job Account
          • Setup
          • API
      • Configuration
        • Config
          • Missions
        • Shop
          • Workbench
          • Supplier
        • Parts
      • Exports
        • Server
        • Client
      • Troubleshoot
        • FAQ
    • T1GER Library
      • Installation
        • Inventory
        • Target
        • Garage
        • Society Account
        • Vehicle Properties
      • Configuration
    • T1GER Gang System
      • Installation
      • Gang Garages
      • Product Information
    • T1GER Tuning System
      • Installation
      • API
        • Client
        • Server
      • Troubleshoot
        • Common Issues
        • Error Codes
      • Guides
        • Commands
        • Shops
        • Markers
        • Mod Stations
        • Pricing
        • Mod Orders
        • Vehicle Mods
        • Engine Swaps
        • Nitrous
    • T1GER ATM Robbery
      • Installation
      • API
        • Client
        • Server
      • Troubleshoot
        • Common Issues
        • Error Codes
      • Guides
        • Hacking Minigame
        • Dispatch
    • T1GER Dealerships
  • Free Resources
    • T1GER Keys
    • T1GER Garage
    • T1GER Bank Robbery
    • T1GER Tow Trucker
Powered by GitBook
On this page
  • Debug
  • Currency
  • ServiceSideProps
  • ActionMenu
  • CarLift
  • CarJack
  1. Resources
  2. T1GER Mechanic
  3. Configuration

Config

Debug

Enable or disable debug prints in F8 console and server/live console.

Config.Debug = true

Currency

Set your desired currency used across the script when displaying finance related amounts and numbers.

Config.Currency = "$" -- currency used for pricing

ServiceSideProps

Do you want to create the props used in repairs, emotes etc. on the server or on the client? By default it's created on the server, but if you have a server with lots of players and lots of networked entities/objects, it's recommended to set it to false.

Config.ServerSideProps = true -- create objects/props on server or client?

ActionMenu

The mechanic action menu allows mechanics to access different functions/features in their "everyday" tasks while doing mechanic tasks.

Config.ActionMenu = {
	Enable = true, -- set to false to disable mechanic action menu
	Command = {enable = true, name = "mechanic"}, -- enable/disable command, set command string.
	Keybind = {enable = true, defaultMapping = "F7", description = "Open Mechanic Action Menu"} -- enable/disable keybind, set default mapping (players edit button in-game inside GTA Settings)
}
  • Enable (boolean) — determines whether to utilize the mechanic action menu or not

  • Command (table) — enable command with given command name to open the mechanic action menu

  • Keybind (table) — enable keybind with given default key to open the mechanic action menu

CarLift

Requires the t1ger_carlift resource!

We provide custom lift props to immersively enhance mechanic roleplay. it uses physics to raise/lower vehicles with a target based interaction system. Admins can create/remove lifts in-game in runtime without server restarts. The lifts are not required for repairs & maintenance but definitely adds an extra layer of immersion.

Config.CarLift = {
    Model = {
        base = `t1ger_carlift_base`, -- model for carlift base
        arm = `t1ger_carlift_arms`, -- model for carlift arm
    },
	Command = "createlift", -- command to create a carlift
	Icons = { -- icons for target options on carlift
		["up"] = "fa-sharp fa-solid fa-arrow-up",
		["down"] = "fa-sharp fa-solid fa-arrow-down",
		["stop"] = "fa-regular fa-circle-stop",
		["delete"] = "fa-solid fa-ban"
	}
}
  • Model (table) — these are the prop model names for the base and the arms. You might want to add this to your anti-cheat.

    • base (string) — the model name for the lift base

    • arm (string) — the model name for the lift arms

  • Command (string) — command name for admins to create lifts in-game in runtime.

  • Icons (table) — setup icons for the target options

CarJack

These portable jack items can be used on the fly to raise a vehicle for quick repairs. They are not required for repairs but similar to the car-lifts, they add an extra layer of immersion!

Config.CarJack = {
	Item = "t1ger_carjack",
	Marker = {type = 27, scale = vector3{0.35, 0.35, 0.35}, color = {r = 200, g = 100, b = 200, a = 100}},
    Prop = {model = "imp_prop_car_jack_01a", pos = vector3(-0.40, -1.4, -0.8), rot = vector3(5.0, 0.0, -180.0), boneId = 28422},
	Keybind = 38, -- Default [E] | Attaches carjack prop to vehicle
	Icons = {
		target = { -- target icons
			remove = "fa-solid fa-trash",
			handle = "fa-solid fa-gamepad"
		},
		menu = {
			raise = "arrow-up",
			lower = "arrow-down"
		}
	},
	AllowEveryone = false, -- allow everyone with carjack to use on a vehicle?
}
  • Item (string) — the name of the useable carjack item

  • Marker (table) — settings for the marker displayed when aligning the jack under the vehicle

  • Prop (table) — settings for the spawned prop attached on the player

  • Keybind (interger) — the key to press to attach the jack to the vehicle

  • Icons (table) — setup icons for the target options and menu options

  • AllowEveryone (boolean) — allow everyone to use the car jack item or restrict only to mechanics?

W.I.P

PreviousConfigurationNextMissions

Last updated 7 hours ago