Hello everyone! I’ve spent the past 2 months working on blackjack in a style as similar to GTA:O as possible and I’ve decided that all servers should enjoy this so I’m releasing it!
All networked with up to 16 players playing at the same time
Works with OneSync & OneSync Infinity
All the juicy stuff you’d expect from blackjack
Optional fancy teleporter to enter diamond casino
Fancy menu showing how to play blackjack like GTA:O thanks to RageUI!
Dynamically configurable, ability to make any blackjack table playable
Notes:
This is not linked to any framework and works natively, to add chips/money into your framework/gamemode complete the two functions named tryTakeChips and giveChips at the top of sv_blackjack.lua
There is no splitting or double down at this time, may come in the future
You will need the Diamond Casino interior - There might be one on the forums somewhere, I don’t know if I’m allowed to link the one I used, but just search “diamond casino fivem” in youtube. The download link is in the description in the first video.
This was my first time working with decompiled scripts, so some code is quite messy, just don’t scroll too much…
Vrp Version
Rename “DiamondBlackjack” to “vRP_blackjack”
Item name used for chips “casino_token”
Replace those 2 files and you are done. __resource.lua (1.8 KB) sv_blackjack.lua (32.2 KB)
That camera position looks like the default for esx_kashacters, so I did some testing, and it seems that the scripted cameras in esx_kashacters somehow conflict with those provided in this script.
Once I disabled kashacters, everything worked fine. @Bassemand
Superb script and sharing thank you very much !!!
Can you give us a little summary of how to add new tables please to finish putting the remaining ones that are empty. I added the npc without problems already but the tables I can not find how to make them work
I’ve got mine working with the one table for the brown casino mlo however the cards and chips props are not spawning. Everything else seems to be working great though.