Closed TonybynMp4 closed 1 year ago
change it too
exports['qb-core']:DrawText(Config.Garages[CurrentGarage]['drawText'], Config.DrawTextPosition)
& please
Config.DrawTextPosition = 'left-center' -- location of drawtext: left-center, top-center, right-center i forget to do so
i mean to say Config.Garages[CurrentGarage]['drawText'] this part
oh..
radial menu option also not removing while getting outside of zone
radial menu option also not removing while getting outside of zone
should be good now, i forgor that part lol
1st if i enable debug mode its crash the server
No idea why that happens, it works fine on my end, tried both the lib zone debug and a garage's debug.
Merge conflict has to be resolved and the following function needs a better name:
local function SetCurrentGarage()
CurrentGarage = nil
end
I would probably name it something like "ResetCurrentGarage" since I would expect to be able to use it like SetCurrentGarage(xyz) but since that is not the case I would either add a param and then pass nil to it where you call it or just simply rename it.
Done 👍🏻
1st if i enable debug mode its crash the server