A simple gamble script for QBCORE framework which utilizes interact-sound.
ShowCase.mp4
Drag and drop razed-cashgamble
In server.cfg
add ensure razed-cashgamble
["GambleCash"] = {
models = {
`a_m_m_business_01`,
},
options = {
{
type = "client",
event = "razed-cashgamble:openMenu",
icon = "fas fa-cash",
label = "Gamble your cash",
},
},
distance = 2.0
},
qb-core
qb-target
qb-menu
interact-sound
Pong Slug - Giving me motivation for my first script.
Me - For making the script.