zpx-casino
Installation guide for zorpex casino system
IMPORTANT
This script automatically inserts the database tables, eliminating the need to run the SQL code provided. If you encounter issues with the automated installation, consider manually running the sql instead.
DEPENDENCIES
PERMISSIONS
Add the following code in your server.cfg:
add_ace qbcore.god zpxcasino allow
FUNCTIONALITY
If you want to use an item to open the online casino, set
Config.UseItemToOpenCasino = true.
To use a prop, set the configuration option above to false and utilize
/placeprop
to position it.
QBCORE ONLY
Add the following item on qb-core/shared/items.lua:
zorpex_tablet = { name = 'zorpex_tablet', label = 'Zorpex Tablet', weight = 0, type = 'item', image = 'zorpex_tablet.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Zorpex Tablet to open the online casino'},
ESX ONLY
Add the following item on the database:
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES ('zorpex_tablet', 'Zorpex Tablet', 1, 1, 1)
Last updated