From 826e745fc316d2b04b976d0fba349f25465b7ad7 Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Wed, 7 May 2025 01:59:03 +0100 Subject: [PATCH] fallback for the fallback Not having the server convars added to the server.cfg was causing issues for some users it should have worked, but this forces things to gta if you don't have any values set for them anywhere I've added fallbacks to "gta" settings to hopefully stop fivem errors --- starter.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/starter.lua b/starter.lua index f576b9a..351be73 100644 --- a/starter.lua +++ b/starter.lua @@ -47,10 +47,10 @@ if Config and Config.System then end Config.System.Menu = GetConvar("jim_menuScript", Config.System.Menu) - Config.System.Notify = GetConvar("jim_notifyScript", Config.System.Notify) - Config.System.ProgressBar = GetConvar("jim_progressBarScript", Config.System.ProgressBar) - Config.System.drawText = GetConvar("jim_drawTextScript", Config.System.drawText) - Config.System.skillCheck = GetConvar("jim_skillCheckScript", Config.System.skillCheck) + Config.System.Notify = GetConvar("jim_notifyScript", Config.System.Notify or "gta") + Config.System.ProgressBar = GetConvar("jim_progressBarScript", Config.System.ProgressBar or "gta") + Config.System.drawText = GetConvar("jim_drawTextScript", Config.System.drawText or "gta") + Config.System.skillCheck = GetConvar("jim_skillCheckScript", Config.System.skillCheck or "gta") if GetConvar("jim_dontUseTarget", "false") == "true" then Config.System.DontUseTarget = true