[HELP] ES - UI Money Display doesn't work!

Hello FiveM-Community, I hope someone can help me with a simple lua script.

I’m using ES (not ESX) for my server and I want to use the ES money hud.
My problem: The hud doesn’t show up. It only shows up, when i set my money as admin or when i buy something in the store. It will stay there for the whole game. I want to have the money hud right after i spawn into the game.

I tryed it with this simple lua script, but it will only show “undefined” instead of the amount of money:

AddEventHandler('es:playerLoaded', function(source)
    TriggerEvent('es:getPlayerFromId', source, function(user)
        TriggerClientEvent('es:activateMoney', source, user.money)
    end)
end)

Can someone help me to get the right lua script? I think it would work when you add and remove one dollar after you spawn. The ES money system needs to be used to display the hud. (I really don’t know why its scripted this way but it is :D)

Please ask for help in the original resource topic. There is no need for a separate topic for issues and/or questions about a certain resource.

This will keep the forums less cluttered and make searching for others easier. Your issue and/or question may have been solved already in the original topic? If not feel free to ask there, and the original creators will get notified of your issue or question.

:smiley: