JokerDom
JokerDom
if type == 'house' and not exports['qb-houses']:hasKey(Player.PlayerData.license, Player.PlayerData.citizenid, Config.Garages[garage].houseName) then cb(true) else cb(false) end I changed the code in the server/main.lua to this and it seems to be working
Cancels out all other garages when using that code. Only house garages will work.
if type == 'house' and not exports['qb-houses']:hasKey(Player.PlayerData.license, Player.PlayerData.citizenid, Config.Garages[garage].houseName) then cb(true) else cb(false) end I changed the code in the server/main.lua to this and it seems to be working