Config file

Config, Locales = {}, {}

Config.Locale = 'en'

Config.CommandName = "vehiclecontrol"
Config.CommandDesc = "Opens the vehicle control menu"
Config.CommandBind = "F3"

Config.BlacklistedVehicles = { -- Blacklist vehicles from opening the menu via their class
    13, -- Bikes
}

-------------------------- LOCALES (DON'T TOUCH)

function _okok(id)
	if Locales[Config.Locale] == nil then
		return nil
	elseif Locales[Config.Locale][id] then
		return Locales[Config.Locale][id]
	else
		print("The locale '"..id.."' doesn't exist!")
	end
end

Last updated