@@ -64,8 +64,8 @@ local function spawnLastLocation()
6464 }) end )
6565
6666 local insideMeta = QBX .PlayerData .metadata .inside
67- if insideMeta .propertyId then
68- TriggerServerEvent (' ps-housing:server:enterProperty' , tostring (insideMeta .propertyId ))
67+ if insideMeta .property_id then
68+ TriggerServerEvent (' ps-housing:server:enterProperty' , tostring (insideMeta .property_id ))
6969 end
7070
7171 TriggerServerEvent (' QBCore:Server:OnPlayerLoaded' )
@@ -91,20 +91,20 @@ Find `inputHandler` in client/main.lua and replace with:
9191local function inputHandler ()
9292 while DoesCamExist (previewCam ) do
9393 if IsControlJustReleased (0 , 188 ) then
94- previousButtonID = currentButtonID
95- currentButtonID -= 1
94+ previousButtonId = currentButtonId
95+ currentButtonId -= 1
9696
97- if currentButtonID < 1 then
98- currentButtonID = # spawns
97+ if currentButtonId < 1 then
98+ currentButtonId = # spawns
9999 end
100100
101101 updateScaleform ()
102102 elseif IsControlJustReleased (0 , 187 ) then
103- previousButtonID = currentButtonID
104- currentButtonID += 1
103+ previousButtonId = currentButtonId
104+ currentButtonId += 1
105105
106- if currentButtonID > # spawns then
107- currentButtonID = 1
106+ if currentButtonId > # spawns then
107+ currentButtonId = 1
108108 end
109109
110110 updateScaleform ()
@@ -147,10 +147,10 @@ lib.callback.register('qbx_spawn:server:getLastLocation', function(source)
147147end )
148148```
149149
150- Find ` qbx_spawn:server:getHouses ` in server/main.lua and replace with:
150+ Find ` qbx_spawn:server:getProperties ` in server/main.lua and replace with:
151151
152152``` lua
153- lib .callback .register (' qbx_spawn:server:getHouses ' , function (source )
153+ lib .callback .register (' qbx_spawn:server:getProperties ' , function (source )
154154 local player = exports .qbx_core :GetPlayer (source )
155155 local houseData = {}
156156
0 commit comments