[RELEASE] Program-casino, a casino pack for fivem esx servers

hey matz

1 Like

English will be release in 4/6days

Please dont post stuff like this on the forums. Please also read the fivem TOS

oooooh okay sorry

How can i change the winning Chance of the Slot Machines?

1 Like

This does not work ive tried it and it only take my money but nothing else happens

Have you won yet or only lost. It was working for me out of the box with giving money.

witch one? slots/blackjack

have to edit slotmachine_1 by u :confused: its not so simple to inexperienced dev

Anyone got working code moved to the Diamond Casino? I ask for no other reason than pure laziness.

If I get no reply I’ll do it myself and post an update here for yall.

1 Like

ive not got it working

ive never won because i cant even get the script to work it loads in but when we open the machines or go to the blackjack tables the dont do anything maybe someone could help fix this

For the lazy…

program-blackjack/config.lua

Config.BlackjackSites = {

    Croupier = {
        Pos   = { x = 1145.75, y = 261.92, z = -51.8-0.9 },
        Size  = { x = 1.0, y = 1.0, z = 1.0 },
        Color = { r = 4, g = 240, b = 0 },
        Type  = 26,
    },
    Player1 = {
        Pos   = { x = 1147.5, y = 261.59, z = -51.84-0.9 },
        Size  = { x = 1.0, y = 1.0, z = 1.0 },
        Color = { r = 4, g = 240, b = 0 },
        Type  = 26,
    },
    Player2 = {
        Pos   = { x = 1145.96, y = 259.96, z = -51.84-0.9 },
        Size  = { x = 1.0, y = 1.0, z = 1.0 },
        Color = { r = 4, g = 240, b = 0 },
        Type  = 26,
    },

}

slotmachine_1/client/main.lua

local moneymachine_slot = {
    { ['x'] = 1115.87, ['y'] = 228.72, ['z'] = -49.84 },
    { ['x'] = 1115.97, ['y'] = 230.45, ['z'] = -49.84 },
    { ['x'] = 1117.68, ['y'] = 230.89, ['z'] = -49.84 },
    { ['x'] = 1118.6, ['y'] = 229.4, ['z'] = -49.84 },
    { ['x'] = 1117.5, ['y'] = 228.07, ['z'] = -49.84 },
    { ['x'] = 1106.14, ['y'] = 230.97, ['z'] = -49.84 },
    { ['x'] = 1111.52, ['y'] = 237.38, ['z'] = -49.84 },
    { ['x'] = 1112.56, ['y'] = 237.67, ['z'] = -49.84 },
    { ['x'] = 1113.49, ['y'] = 238.21, ['z'] = -49.84 },
    { ['x'] = 1110.44, ['y'] = 237.41, ['z'] = -49.84 },
    { ['x'] = 1109.38, ['y'] = 237.68, ['z'] = -49.84 },
    { ['x'] = 1108.45, ['y'] = 238.22, ['z'] = -49.84 },

    { ['x'] = 1130.19, ['y'] = 251.7, ['z'] = -51.04 },
    { ['x'] = 1131.22, ['y'] = 251.43, ['z'] = -51.04 },
    { ['x'] = 1132.15, ['y'] = 250.89, ['z'] = -51.04 },
    { ['x'] = 1132.92, ['y'] = 250.14, ['z'] = -51.04 },
    { ['x'] = 1133.44, ['y'] = 249.18, ['z'] = -51.04 },
    { ['x'] = 1133.74, ['y'] = 248.14, ['z'] = -51.04 },

    --penthouse
    { ['x'] = 944.73, ['y'] = 20.86, ['z'] = 116.16 },
    { ['x'] = 941.25, ['y'] = 8.86, ['z'] = 116.16 },
    { ['x'] = 943.2, ['y'] = 7.67, ['z'] = 116.16 },
    { ['x'] = 942.07, ['y'] = 5.96, ['z'] = 116.16 },
    { ['x'] = 940.18, ['y'] = 7.06, ['z'] = 116.16 },
}
1 Like

Can you find anther solution because that one made some issues , if someone got it to work would be great to tell me how

Do you have the job running as well. with the DB added. The script needs the job for the slots and blackjack to add money to the job pool

1 Like

thanks

Hello,
I was wondering, am i alone who the bar isn’t working? I do have the marker to make the cocktails, but i do not have the “shop” to buy the basic drinks.
Also the fidge open, but no menu to put stock in it or whidraw stock from it.
I only want to make sure if i’m alone or not
BTW great script thank you!

no as it did not work

The job didnt work as you didnt see the markers or it wouldnt load when the server atarted. Its not setup for the new casino sk none of the makers would show except the front door one.

Ill add soon option to withdraw and put items to fridge. And ill make drunk effect to this script. Wait for update. It will be in 2days. And probably english version with it too. For now u can add items to database to fridge. Addon_account_inventory i think in owner society_casino_fridge and in items name of ingredient and number. :smiley: update soon