Comments (5)
i have the error above i have tried to do this on a clean server with nothing but defualts and i have did the read me 100% correct any ideas on why this would still be happening and its only happening when the ps-housing is add workf fine before
Its trying to accsess the houses and apartment that do not exist anymore. its to setcam for Appartment/house.
Do not know any fix for it.
Hope they push a fix for it so the cam in qb-spawn zoom in to house or apartment
from ps-housing.
Follow the read me.
from ps-housing.
from ps-housing.
Follow the read me.
i did follow everything. even updated qb-spawn and qb-multicharacter and i still do not get a zoom in on property when choosing house to spawn in
from ps-housing.
Its this im talking about thats giving the error we are talking about.
RegisterNUICallback('setCam', function(data, cb)
local location = tostring(data.posname)
local type = tostring(data.type)
DoScreenFadeOut(200)
Wait(500)
DoScreenFadeIn(200)
if DoesCamExist(cam) then DestroyCam(cam, true) end
if DoesCamExist(cam2) then DestroyCam(cam2, true) end
if type == "current" then
QBCore.Functions.GetPlayerData(function(PlayerData)
SetCam(PlayerData.position)
end)
elseif type == "house" then
SetCam(Houses[location].coords.enter) <------- This
elseif type == "normal" then
SetCam(QB.Spawns[location].coords)
elseif type == "appartment" then
SetCam(Apartments.Locations[location].coords.enter) <------- And this
end
cb('ok')
end)
from ps-housing.
Related Issues (20)
- qb-multicharacter messed up server list so it hangs on loading screen . HOT 1
- Change / Add confirmation for player ID when giving them a buy menu HOT 2
- Config.SkipSelection no longer work in qb-multicharacter HOT 4
- Stuck on loading screen
- ps-housing Garage
- error in consolle when trying to sell a house. HOT 4
- Images not showing up HOT 2
- Image problem HOT 2
- Furniture does not get deleted properly
- Manage property error HOT 1
- Time desync when exiting house HOT 1
- sql
- BUCKETS not working correctly HOT 1
- sql error
- Error when leaving house
- Attempt to index nil vale (global 'lib') HOT 4
- Stashes not working HOT 2
- Images Not Working
- cant migrate apartments or houses HOT 1
- Help
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ps-housing.