[Standalone] [PAID] Aquiver - Casino Roulette

How do I get the item to bet?
Don’t have SQL?

You can set it in the server lua files.
It is at the top in the file.

You just edit the removechips, etc. for your item variables. Why would i setup a different items with mysql?

Worth every cent. Well done!

1 Like

You got it wrong, where or how do I get the chips to bet?

We are working on the documentation website also, you can find it on our Tebex website.

1 Like

Could someone give some feed back of what they think of the script after testing it out? Like performance, smoothness ect? Looking to buy but I seeing some comments about performance issues.

Where do we find the update?

How do I get this to work in 1604 build and esx 1.1?

1 Like
ESX = nil

TriggerEvent(
    'esx:getSharedObject',
    function(obj)
        ESX = obj
    end
)

function getPlayerChips(source)
    local xPlayer = ESX.GetPlayerFromId(source)
    if xPlayer then
        return xPlayer.getInventoryItem('zetony').count
    else
        return 0
    end
end

function giveChips(source, amount)
    local xPlayer = ESX.GetPlayerFromId(source)
    if xPlayer then
        xPlayer.addInventoryItem('zetony', amount)
    end
end

function removeChips(source, amount)
    local xPlayer = ESX.GetPlayerFromId(source)
    if xPlayer then
        xPlayer.removeInventoryItem('zetony', amount)
    end
end
1 Like

Hi, can several players play together at the same time? Which casino is it?

We used the default GTA casino.
There are many Casino MLOs, but if i know it well, the GetClosestObject native not working properly on the MLO table objects. Maybe need to change the object flags in the mlo or something, i have no experience further in that. :confused:

Yeah, you can put many tables, and play on each etc.