dnz_casesystem
Description
dnz_casesystem is a custom case system script for FiveM, featuring 100% custom design and notifications. It also includes a custom cinema feature specifically made for this script.
Information
The script is obfuscated and IPLocked.
General
Ability to set up cases for in-game cash or coins.
Coin codes can be created without Tebex.
Coin codes can be sold through Tebex.
Integrated Tebex functionality (selectable database, additional features, and automatic DB insert from Tebex required).
Ability to open the menu using NPC, command, or key.
Ability to adjust the % chance of each case and each win.
Ability to reward the user with a reward (e.g., $100,000) after a certain number of coins have been given.
Ability to grant "admin access" to multiple groups.
Cases
Users can buy "cases" using coins or in-game money.
The cases randomly generate an item based on a percentage chance.
Possibility to include items, money, and vehicles in a case.
Global notification when a player wins a car (configurable in the config file).
Installation
Download the script files.
Place the script folder (
dnz_casesystem
) into your server's resource directory.Open the
dnz_startscript
file in your server's resource directory.Add the following line to the
Config.Scripts
section ofdnz_startscript
: resourceX = { name = "dnz_casesystem", anticheat = false },Save the dnz_startscript file.
Customize the configuration in the config.lua file according to your preferences. By adding the dnz_casesystem script to the dnz_startscript, you ensure that it is properly loaded and managed with other scripts.
Configuration
The configuration file dnz_system
includes the following settings:
Security token (
dnz_system.Token
) - Security token from @dnz.wtf.Shared object (
dnz_system.getSharedObject
) - Shared object for ESX.Script name (
dnz_system.ScriptName
) - Name of the script.Discord webhook (
dnz_system.WebHook
) - Webhook for Discord integration.
Script Settings
The configuration file Config
includes the following settings:
Language settings:
htmltopheader
- Top header for the HTML interface.htmltopslogan
- Slogan for the HTML interface.htmltopslogan1
- Additional slogan for the HTML interface.
Authorized admins (
Config.AuthorizedAdmins
) - List of authorized admin roles.Access method (
Config.AccessMethod
) - Method to access the menu (command, key, or ped).Access command (
Config.AccessCommand
) - Command to access the menu.Allow change keybind via settings (
Config.AllowChangeKeybindviaSettings
) - Determines if players can change the keybind in their FiveM settings.Standard keybind via settings (
Config.StandardKeybindviaSettings
) - Default keybind if not changed in the client settings.Access ped (
Config.AccessPed
) - Location of the access ped.Access ped heading (
Config.AccessPedHeading
) - Heading direction of the access ped.NPC ped (
Config.NPCPED
) - Model for the NPC ped.Enable global show car wins (
Config.EnableGlobalShowCarWins
) - Whether to enable global notification for car wins.Advanced vehicle shop (
Config.AdvancedVehicleShop
) - Enable if you have a database with label and category.Cases: [Details about the cases configuration]
Discord Server
For discussions, questions, and support related to this project, please join our Discord server.
Last updated