Files
Elite-Gaming-FiveM/resources/Traffic-Menu/client/config.lua
T
2021-12-03 01:05:09 +00:00

28 lines
1.2 KiB
Lua

Config = {}
Config.TrafficLightProp = `prop_traffic_03a`
Config.ConfirmButton = 38 -- E
Config.CancelButton = 154 -- X
Config.StopPointSmaller = 174 -- Left Arrow
Config.StopPointBigger = 175 -- Right Arrow
Config.FlashInterval = 1.0 -- Seconds between flashes when set to flashing mode
Config.Text = {
["MenuTitle"] = "Traffic Control",
["MenuSubtitle"] = "Items",
["PlaceTrafficLightButton"] = "Place Traffic Light",
["RemoveTrafficLightButton"] = "Remove Traffic Light",
["SetStoppingPointButton"] = "Set Stopping Point",
["SetLightGreenButton"] = "Set Light Green",
["SetLightRedButton"] = "Set Light Red",
["SetLightFlashingYellowButton"] = "Set Light Flashing Yellow",
["TrafficLightExists"] = "You already have a ~y~traffic light~s~ created, you can only have ~r~1~s~ at a time.",
["PlaceLightFirst"] = "You need to place a ~y~traffic light~s~ first",
["PlaceStopPoint"] = "You need to place a ~y~stopping point~s~ first",
["PositionSaved"] = "~g~Position saved",
["PlaceStopInstruction"] = "Place Stopping Point",
["PlaceLightInstruction"] = "Place Traffic Light",
["CancelInstruction"] = "Cancel",
["ChangeSizeInstruction"] = "Change Stopping Point Size"
}