#
FAQ
#
How do I disable the inventory blur?
Add the following convar to your server.cfg:
setr inventory:screenblur false
#
How do I change the inventory language?
Add the following convar to your server.cfg with the desired language code:
setr ox:locale de
Some common language codes: en (English), es (Spanish), de (German), fr (French).
#
How do I add a throwable item?
In data/items.lua, add a throwProp field inside the client table of your item. The value must be a valid GTA prop model name.
['garbage'] = {
label = 'Garbage',
client = {
throwProp = 'prop_cs_panties_02'
}
},
When the player uses the item, it will be thrown using the specified prop.
#
How do I add a rarity to an item?
In data/items.lua, add a rarity field to your item definition. There are three available tiers:
['money'] = {
label = 'Money',
rarity = 'rare'
},
['panties'] = {
label = 'Panties',
weight = 10,
consume = 0,
rarity = 'epic',
client = {
-- ...
}
},
The rarity is displayed visually in the inventory UI as a colored border around the item.