You should just read github readme.
Where is your min and max values?
{label = āyesā, value = 1, min = 7, max = 24}
to receive somethingā¦ a min and a max is needed
Yes, thatās right. All is in Github Readme.
I also do not get weed and I have it in the database
RegisterServerEvent("esx_receptury:statusSuccess")
AddEventHandler("esx_receptury:statusSuccess", function(message, min, max, item)
TriggerClientEvent('esx:showNotification', source, message)
local _source = source
local xPlayer = ESX.GetPlayerFromId(_source)
math.randomseed(os.time())
local amount = math.random(min, max)
local itemProps = xPlayer.getInventoryItem(item)
if(itemProps.limit < itemProps.count + amount) then
xPlayer.setInventoryItem(item, itemProps.limit)
TriggerClientEvent("pNotify:SendNotification", source, {
text = 'Porzucasz czÄÅÄ towaru, gdyż nie masz już miejsca w kieszeniach.',
type = "error",
timeout = 2000,
layout = "centerLeft"
})
else
xPlayer.addInventoryItem(item, amount)
end
end)
in config what is your last question?
Nobody will tell you where is the problem without any data. We are not diviners.
On 99% you have configured config incorrectly, or you do not have the dependencies you need.
If you are a Developer, you can do it, and if you want to do Copy Paste donāt waste our time.
You have written everything in Readme and you still have a problem.
Maybe creating a server is not for you?
Isi t possible to ass a tile prop under the plant?
Nothing is impossible.
Just want to say a big big thanks for the work on this scriptā¦ and also a big thanks for sharing this amazing work with us.
this is a 5 stars release.
Thanks! Enjoy
For some reason Iāve made the en locale and tried testing it in-game but it was still using the pl locale.
go in localeā¦
make a copy of plā¦
rename pl to en
translate inside en
use google to translate everything.
save
restart server
enjoy
be sure to load enā¦ but you already done this
.
You will have to translate yourself the config question and some in server file tooā¦
done
hello. Im Not being able to catch weed always says 0 weed at the end already increased the values and still not giving. anyone know what could be?
any error F8 and or consoleā¦
does item in database is spellingā¦ weed?
send your config last question. please
share me the config fileā¦
ill try
those line seems ok
Yeah lol I know what I am doing but it isnāt even using the translations. I set the locale file in the config to en, change the locales = [āplā] to locales = [āenā] and edited the config file to also be english.
in __resource
add your en file.
enjoy
forgot this part
Ah, yes that is it. I always forget about the __resource.lua file XD thanks lmfao