Skip to content

zuraxscripts/zx_codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ FiveM ESX + OX_LIB Voucher Codes Script

A simple and powerful FiveM script for ESX servers, integrating OX_LIB to allow players to redeem voucher codes for in-game rewards like cash, items, and special perks. Perfect for event-based giveaways, promotions, or rewards systems on your server. ๐ŸŽฎ

โš™๏ธ Features

  • ESX + OX_LIB Integration: Seamlessly works with ESX servers and leverages the power of OX_LIB for performance.
  • Customizable Rewards: Assign a variety of rewards such as in-game cash ๐Ÿ’ธ, items ๐Ÿ› ๏ธ, and special abilities โœจ.
  • Easy Command Setup: Admins can easily configure and use commands to manage voucher codes.
  • Lightweight & Efficient: Designed to have minimal performance impact on your server.
  • Optimalization: Runs on 0.00ms in Peak of Use!

๐Ÿ› ๏ธ Installation

  1. Download the repository or clone it into your server's resource folder.
  2. Import the IMPORT.sql file to your Database.
  3. Configure the config.lua file to define voucher rewards and settings.
  4. Add ensure zx_codes to your server.cfg.
  5. Restart your server to apply the changes.

๐Ÿ”ง Configuration

The configuration file (config.lua) allows you to customize:

  • Command Name: Change the command name for admin / user commands.
  • Webhook: Change the Log webhook ( Discord ).
Config = {}

Config.AdminCommand = "createcode"
Config.ClaimCommand = "claim"

About

๐Ÿš€ FiveM ESX + OX_LIB Voucher Codes Script

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages