mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 05:56:02 +01:00
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
This commit is contained in:
@@ -47,10 +47,10 @@ if Config and Config.System then
|
|||||||
end
|
end
|
||||||
|
|
||||||
Config.System.Menu = GetConvar("jim_menuScript", Config.System.Menu)
|
Config.System.Menu = GetConvar("jim_menuScript", Config.System.Menu)
|
||||||
Config.System.Notify = GetConvar("jim_notifyScript", Config.System.Notify)
|
Config.System.Notify = GetConvar("jim_notifyScript", Config.System.Notify or "gta")
|
||||||
Config.System.ProgressBar = GetConvar("jim_progressBarScript", Config.System.ProgressBar)
|
Config.System.ProgressBar = GetConvar("jim_progressBarScript", Config.System.ProgressBar or "gta")
|
||||||
Config.System.drawText = GetConvar("jim_drawTextScript", Config.System.drawText)
|
Config.System.drawText = GetConvar("jim_drawTextScript", Config.System.drawText or "gta")
|
||||||
Config.System.skillCheck = GetConvar("jim_skillCheckScript", Config.System.skillCheck)
|
Config.System.skillCheck = GetConvar("jim_skillCheckScript", Config.System.skillCheck or "gta")
|
||||||
|
|
||||||
if GetConvar("jim_dontUseTarget", "false") == "true" then
|
if GetConvar("jim_dontUseTarget", "false") == "true" then
|
||||||
Config.System.DontUseTarget = true
|
Config.System.DontUseTarget = true
|
||||||
|
|||||||
Reference in New Issue
Block a user