https://pastebin.com/BRnWHWE3 - This the original one.
https://pastebin.com/kFZpzn9w - This is the updated one with your line suggestion.
Thanks for the prompt reply!
https://pastebin.com/BRnWHWE3 - This the original one.
https://pastebin.com/kFZpzn9w - This is the updated one with your line suggestion.
Thanks for the prompt reply!
I’ll have a look later or tonight after work!
Ofcourse man no worries!
Thanks a lot!
I will be waiting on your reply.
Have a nice day!
Hmm does it do nothing? or does it just say 0 cash? If so, maybe a dumbt question, but does the comapny even have any money?
Hey, thanks for getting back to me.
It doesn’t say anything, no notifications at all, however yes - the company has few bucks on it. (~1000)
Try this first:
Replace:
ESX.ShowNotification('Your company now has ' .. money .. ' $')
With:
TriggerClientEvent('esx:showNotification', xPlayer.source, 'Your company now has .. money .. ' $')
Otherwise, if the above does not work try:
Adding a function for the notifications at the bottom of client.lua (You do need Pnotify script for this for this)
function sendNotification(xSource, message, messageType, messageTimeout)
TriggerClientEvent("pNotify:SendNotification", xSource, {
text = message,
type = messageType,
queue = "bossmoney1",
timeout = messageTimeout,
layout = "bottomCenter"
})
end
Then replace this:
ESX.ShowNotification('Your company now has ' .. money .. ' $')
With this:
TriggerClientEvent('pNotify:SendNotification', xSource, 'Your company now has ' .. money .. ' $')
If this does not work, please send me your discord, and i’ll help you, we will later post it here on the forum if we find fix.
Tried both version, didn’t managed to get it working at all.
I do have pNotify, so everything is fine with it.
Even after making the changes, everything else except the checking works.
Hey, did you receive my PM?
Best Regards,
xVelns
i’m getting your company has $0 too :c
bumping this tread
what i did was
if options.showmoney then
ESX.TriggerServerCallback('esx_society:getSocietyMoney', function(money)
local formattedMoney = _U('money_generic', money)
table.insert(elements, {label = ('Funds: ' ..formattedMoney), value = 'money'} )
end)
end
but nothing is showing anyone has a idea?
Does anyone fix this?
Im trying for a hour so far and i cant get it running… Can someone please fix it?
Does it work?
So for police, how would I have the option if deputy commisssioner is job grade, I only want them to have the option for employee management and ability to deposit money, no ability to withdraw money…
Is there a script for this already or how would I add this to the code?
Why is it that I have tried all the versions of esx society and still can’t put money in / out and can’t hire people?
I had the same problem as you mate you have to change something in servee main.lua im pretty much sure
hi why i can’t make invoices like in the job cardealer or mechanic or other he just lspd that i manage to fine
hello some have script for put stock get stock in boss menu under esx_society?