Closed BPJ-Project closed 1 year ago
Update error is....
[ script:qb-core] SCRIPT ERROR: citizen:/scripting/lua/scheduler.lua:739: SCRIPT ERROR: @ef-phone/server/main.lua:199: attempt to index a nil value (global 'Garages')
[ script:qb-core] > ref (@ef-phone/server/main.lua:199)
[ script:qb-core] >
Fixed Issue... code just had Garages insterad of Config.Garages
local garageresult = MySQL.Sync.fetchAll('SELECT * FROM player_vehicles WHERE citizenid = ?', {Player.PlayerData.citizenid}) if garageresult[1] ~= nil then for k, v in pairs(garageresult) do local vehicleModel = v.vehicle if (QBCore.Shared.Vehicles[vehicleModel] ~= nil) and (Config.Garages[v.garage] ~= nil) then v.garage = Config.Garages[v.garage].label v.vehicle = QBCore.Shared.Vehicles[vehicleModel].name v.brand = QBCore.Shared.Vehicles[vehicleModel].brand end
end
PhoneData.Garage = garageresult
end
those u have facing blank screen issue go and download again the latest version from tebex we update and fixed this error
Not Working for me aswell
Phone working fine on my end, but when other players in serv open phone and press the fingerprint the phone then goes completely blank and see through
make sure old sql was deleted and new sql install properly
..
..
Phone working fine on my end, but when other players in serv open phone and press the fingerprint the phone then goes completely blank and see through