Ok, just this and the other files from this post?
Yes …
Ok, thanks you very much man
To display the money with es_f.reeroam just modify the function AddEventHandler(‘es:playerLoaded’, function(source) in es_f.reeroam/server.lua :
AddEventHandler('es:playerLoaded', function(source)
-- Get the players money amount
TriggerEvent("es:getPlayerFromId", source, function(user)
user:setMoney((user.money))
TriggerClientEvent('es:activatedirtyMoney', source, user.dirty_money)
end)
end)
Result In Game :
I may forgot that part… I will check and fix it.
@Skkill I also have es_roleplay and now I have nothing at all that is displayed, in ui.html you have to add the code or replace it ? thx
… use your brain !!!
a add a simple line
TriggerClientEvent('es:activatedirtyMoney', source, user.dirty_money)
After this
TriggerClientEvent('es:activateMoney', source, user.money)
Just replace the function
yes i ADD this but Step 4 Add this or remplace ?
really, really good but how to link the dirty money to the illegal activities?
I already have es freeroam, what do you mean?
It’s my complete file with dirty money, you can go in this one, and check how I have modified the server.lua file
Thank you Ciwiel !
Hi how can i do to make an object detected like illegal !
I have that issue, someone can help me ? And my bank icon disappeared
me too bank icone disappeared
It’s because you use a script for money and freeroam
If you have my folder, I don’t know why it doesn’t work