Skip to content

Commit fa97c64

Browse files
authored
Merge pull request #251 from Maximus7474/inventory-add-marker-convars
ox inventory: add template marker convars
2 parents 3faaf45 + 70cff11 commit fa97c64

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

pages/ox_inventory.mdx

+26
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,32 @@ set inventory:dumpsterloot [
185185
["burger", 1, 1]
186186
]
187187

188+
# Set the markers for the various drops, stashes, shops
189+
# These all follow the same strucutre, if the json strings are invalid it will fallback to a generic marker
190+
setr inventory:dropmarker {
191+
"type": 2,
192+
"colour": [150, 30, 30],
193+
"scale": [0.3, 0.2, 0.15]
194+
}
195+
196+
setr inventory:shopmarker {
197+
"type": 29,
198+
"colour": [30, 150, 30],
199+
"scale": [0.5, 0.5, 0.5]
200+
}
201+
202+
setr inventory:evidencemarker {
203+
"type": 2,
204+
"colour": [30, 30, 150],
205+
"scale": [0.3, 0.2, 0.15]
206+
}
207+
208+
setr inventory:craftingmarker {
209+
"type": 2,
210+
"colour": [150, 150, 30],
211+
"scale": [0.3, 0.2, 0.15]
212+
}
213+
188214
# Set items to sync with framework accounts
189215
set inventory:accounts ["money"]
190216
```

0 commit comments

Comments
 (0)