Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

Commit aea0853

Browse files
NotPhelpsMonkeyWhisper
authored andcommitted
Update README.md
fixes capitalization issues credit to #273 and #276
1 parent 06fdb4f commit aea0853

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

README - INSTALL INSTRUCTIONS/QBOX/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -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:
9191
local 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)
147147
end)
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

Comments
 (0)