[RELEASE] [ESX] Diamond Casino Lucky Wheel

Hi, I forgot a piece of the message, I would like the car winning at the casino to be recorded in the player’s database (owned_vehicles) that it wins it.

Reference this post I made above. It has the code you need, you will need to modify it if you don’t want randomized vehicles on script restart.

1 Like

Looks really cool, I’m going to try

post this pleaseeeeee

yes its working for me.
Dalisa#9490

For anyone using this:

I have these coords:

local _wheelPos = vector3(978.15, 50.59, 75.40)
_wheel = CreateObject(model, 978.02, 50.38, 73.94, false, false, true)

SetEntityHeading(_wheel, 328.0)
SetEntityRotation(_wheel, 0.0, _y, 328.0, 2, true)

If I press E then my PED runs away and nothing else happens? someone a fix for it?

Hey, can I re-release this resource? I’ve optimized it and made it more compatible with a certain Diamond Casino. If you are interested in this, I might release this on github as fork. Please DM me on here if you need it!

2 Likes

hey all just wondering if any one would know what language the script is in ?

vietnam

you rock… been working on getting that right for the last 10 hours and was not doing well… nice one :slight_smile: thanks tonnes :slight_smile:

any luck on this?

Hello, can you help me?

I would like the roulette wheel to have only one spin per day but I am not sure how to do it, if you could share the arrangement with me I would be grateful

You’ll need to add a column in your Player Database for recording if the player used their chance today.
After that, just write the script into query the db to check if player used their chance or not.
Yes = Tell them to frick off
No = Update the column in DB, begin spin

neeeeeed :slight_smile:

car and pressed E horn worked fine on thank you ve

kjsad

does anyone know how to get the screens working with the falling diamonds?

so dont you think you should remove the depedency to need to haft to have the Casino pack it dont work otherwise

Interested!!!

I just have one question how cen i moove the wheel im using gabz mlo casino