[Release] [ESX] Yacht robbery

Server/main.lua:
xPlayer.addMoney(math.random(Config.MinReward,Config.MaxReward))
modify to:
xPlayer.addAccountMoney(‘black_money’, math.random(Config.MinReward,Config.MaxReward))
Not tested, but should work.

1 Like

Tested it, not working and i dont know why, i tried that, found that function of the code in the holdup script but it seems to not work with black money :frowning:

Yep same can not for the life of me get it to pay out black money that is all this needs to finish this off if any one could help that would be great

Possible to make it so other people can help search when the robbery has started?


This an alternative view of script like Treasure haunt!!!
All copyrights are owned to @NeQ :slight_smile:

1 Like

i dont view the yatch any help?

Its possible to change for items, instead of money?

can be posible to receive dirty money ?

propably in config!

In server main.lua line 48 is where the money is given to the player. Change it to give blackmoney

that do not work for me

Instead of

	xPlayer.addMoney(math.random(Config.MinReward,Config.MaxReward))

you should have:

	xPlayer.addAccountMoney('black_money', math.random(Config.MinReward,Config.MaxReward))

that way you receive Black Money instead of Cash

1 Like

thank you iganKO

Wich is the yacht ymap? I cant found it : /

Install Fivem.ipl or bob74ipl. I suggest bob74 ipl. :slight_smile:

Thank you it worked! : )

Ananthakrishnan A via Cfx.re Community thiscamefrom@fivem.net escreveu no dia domingo, 3/05/2020 à(s) 08:09:

1 Like

Message me if you need any help. :slight_smile:

How i can eneable black money

Notification doesn’t comes to police. How can I active that.

Notification is visible to all players of the server.