File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -718,23 +718,26 @@ if GSE.GameMode >= 11 then
718718 if GSE .isEmpty (GSEOptions .SkyRidingBinds ) then
719719 GSEOptions .SkyRidingBinds = {}
720720 end
721+ local tablevals = false
721722 for k , v in pairs (GSEOptions .SkyRidingBinds ) do
722723 table.insert (tableval , k .. " \001 " .. v )
723- end
724-
725- local executionString =
726- " VehicleKeybindTable = newtable([=======[" ..
727- string .join (" ]=======],[=======[" , unpack (tableval )) ..
728- " ]=======])" ..
729- [[
724+ tablevals = true
725+ end
726+ if tablevals then
727+ local executionString =
728+ " VehicleKeybindTable = newtable([=======[" ..
729+ string .join (" ]=======],[=======[" , unpack (tableval )) ..
730+ " ]=======])" ..
731+ [[
730732 VehicleKeybind = newtable()
731733 for _,v in ipairs(VehicleKeybindTable) do
732734 local x, y = strsplit("\001",v)
733735 VehicleKeybind[tonumber(x)] = y
734736 end
735737
736738 ]]
737- VehicleBar :Execute (executionString ) -- Key: Button index / Value: Keybind
739+ VehicleBar :Execute (executionString ) -- Key: Button index / Value: Keybind
740+ end
738741 end
739742
740743 GSE .UpdateVehicleBar ()
You can’t perform that action at this time.
0 commit comments