Installing on QBCore

Installing rcore_casino on a qb-core server.

Setting Up Config

Open the file config.lua and setup your framework settings, inside Framework {} and Events {}

Casino MLO

Please make sure you have a casino map with default coordinates installed on your server (the casino entrance can be modified, as long as the main casino area and tables are at the default coords). If you don't have any casino map on your server, please use our rcore_casino_map. Otherwise, delete the rcore_casino_map folder.

Known issues with bob74_ipl

If you use bob74_ipl loader, Inside Track doesn't work properly. Please do following steps to fix the Inside Track betting screen.

Locate file '[standalone]\bob74_ipl\fxmanifest.lua' and delete following code

Fixing Ambient Sound

Players can hear ambient sound (background noises of casino) once they enter the building. If ambient sound doesn't play, make sure that none of your other resources blocks it.

In qb-core, a resource called qb-smallresources blocks ambient sound on purpose. To stop this, please do following steps:

  1. Locate and open file 'qb-smallresources\client\ignore.lua' file

  2. Remove the following line from the file

Importing Job

Players can enter restricted areas and replace the podium vehicle. To import casino job, please open file 'qb-core\shared\jobs.lua' and add following code block after your last job.

Importing Inventory Items

Installing Inventory Items

Making Snack Items Eatable/Drinkable

Inside casino, players can sit down at the bar and use their casino snacks. To make the snacks affect player's hunger, please do following steps.

  1. Locate and open file 'qb-smallresources\config.lua'

  2. Add following code after your last item in CostumablesEat

3. Add following code after your last item in ConsumeablesDrink

Editing qb-shops

There is one more qb-core resource that collides with our casino and needs to be edited, qb-shops. To do so, please do following steps.

  1. Locate file '[qb]\qb-shops\config.lua' and remove following code blocks

2. Locate file '[qb]\qb-shops\client\main.lua' and remove following code blocks

If you don't use the resource qb-shops, please make sure it's disabled.

Last updated

Was this helpful?