Hello, how can I disable this message when spawning?
I have:
-essentialmode
-fs_freemode
fs_freemode? Isn’t that like really really old?
I have MySql
essentialmode does not load the money from the DB -.-"
MySql -> 800000$
announce spawn:
essentialmode -> 0$
fs_freemode -> 800000$
sry for my bad Eng.
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
-- Not sure which one is needed so you can choose/test which of these is the one you need.
HideHudComponentThisFrame(3) -- SP Cash display
HideHudComponentThisFrame(4) -- MP Cash display
HideHudComponentThisFrame(13) -- Cash changes
end
end)
Edit you can also take a look at these natives if the above ones don’t what you want:
https://runtime.fivem.net/doc/reference.html#_0xC7C6789AA1CFEDD0
https://runtime.fivem.net/doc/reference.html#_0x968F270E39141ECA
Yes really nice
Thank you very much
where?? es_extended??
thanks a lot
Anywhere…
Don’t work… my problem is , when i add money to my bank, i see the original hud of bank
You can help me? please
Bless you.
If you’re talking about the ESX drawing of the bank, you’ll have to view their docs or see topics regarding this. Otherwise, if you’re talking about this or so, you just need to implement Vespura’s code somewhere in a client resource. (HUD component ID 3 or 4 I guess).
i see that https://w.wew.wtf/rnciys.png only when i give money in my bank
Using Vespura’s code should prevent this, as it’s hiding the HUD component every frame.
i can put in client.lua of the es_admin2?
It doesn’t matter, just as long as it is in a client script in a resource that is started.
don’t work… :piangere:
this problem is only with bank… i think is es_extended
whare to go to put this i don’t rember
That code just goes into any client-sided file.
to es_extended client and main.lua
If that’s where you want it, then sure, drop it right there.