Creating Consumables
Last updated
Last updated
To configure the basic item, the procedure to follow is that of ox_inventory, for further information consult
The server and export function are native to ox_inventory and melons_consumables relies on it to work so make sure you rename the folder correctly for the export to work
effect?: table
type: string
[BETA] Available types: "alcol"
, "drug"
, "doping"
name: string
Available names: "drunk"
, "verydrunk"
, "ondrugs"
, "onheavydrugs"
, "doped"
duration: number
Number (in seconds) that the visual effect remains active
status?: table
hunger?: number
value (0 - 100)(%) that adds hunger value
thirst?: number
value (0 - 100)(%) that adds thirst value
stress?: number
value (0 - 100)(%) that removes stress value [ESX don't have a stress system atm]