errors
Andyauk opened this issue · 4 comments
Andyauk commented
red sticks to hand still
orange gives errors line 21 of client consumables
gerServerEvent("QBCore:Server:SetMetaData", "thirst", QBCore.Functions.GetPlayerData().metadata["thirst"] + ConsumeablesSlushy[itemName])
with latest version
realSixGrams commented
You must have missed "Trig" when copying the Snippet.
Try:
TriggerServerEvent("QBCore:Server:SetMetaData", "thirst", QBCore.Functions.GetPlayerData().metadata["thirst"] + ConsumeablesSlushy[itemName])
Andyauk commented
i noticed your missing ConsumeablesSlushy = { for orange
realSixGrams commented
Ahh, okok I notice what you're saying now. Yes, that is missing - My bad on that one.
realSixGrams commented
I've pushed the 'orangeslushy' being inside of the 'ConsumablesSlushy = {'