Giter Site home page Giter Site logo

Comments (5)

Smokiiee avatar Smokiiee commented on July 27, 2024 1

https://prnt.sc/EpSPHzMMKbsZ

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.

MonkeyWhisper avatar MonkeyWhisper commented on July 27, 2024

Follow the read me.

from ps-housing.

NotPhelps avatar NotPhelps commented on July 27, 2024

from ps-housing.

Smokiiee avatar Smokiiee commented on July 27, 2024

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.

Smokiiee avatar Smokiiee commented on July 27, 2024

@MonkeyWhisper

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.