Esx_society check balance in boss menu

Hi!

I have problem with esx_society. I am trying to implement check society balance of society. I have error with ‘local society’. I need help with that and I dont know whats wrong…

image

bump:)

you are checking if society its different that nil before doing society.name so if society its nil society.name will give an error

Thats not that problem

Well it is :v
Can you send here your code? Because I don’t want to rewrite every line :stuck_out_tongue:

main.lua (14.4 KB)
CLIENT SIDE

main.lua (11.6 KB)
SERVER SIDE

1 Like

UPDATE: This code is working, so if you want show society balance in boss menu then there is code for it!

Problem was that I was trying make it without restarting server so that’s the reason why I was getting errors.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.