Hello, gamers today I am going to release another UI script ss-redeem. In this script, admins can create coupon codes that the players can redeem in game.
Description
With this script, you can create coupon codes for
- Redeem Inventory Item
- Redeem Vehicles
- Redeem Cash
- Redeem Bank Money
- Redeem Black Money / Dirty Money
Features
- Admin can generate coupon codes.
- Players can redeem coupon codes with redeem code.
- You can set a limit that how many players can redeem.
- One player can redeem a coupon only once.
- You can set an expiry date of generated coupon codes.
- A coupon will expire automatically when entered number of people redeem this coupon. For example, if I set that only 3 players can redeem this coupon, the coupon will automatically expire after 3 redeems.
- Coupons will also expire automatically on the expiry date that an admin set.
- See Demo and screenshots below for a better understanding.
Installation
- install
sql/install.sql
in your server database. - add
ensure ss-redeem
inserver.cfg
orresources.cfg
Configurations { }
-
Config.AdminCommand
is for admin by which admin can create redeemable coupons. -
Config.OpenCommand
is for users by which users can redeem coupons with coupon codes.
Config = {}
Config.OpenCommand = 'redeem'
Config.AdminCommand = 'createcoupon'
Config.ownedVehiclesDBName = 'player_vehicles'
-- looks like this: 'LLL NNN'
-- The maximum plate length is 8 chars (including spaces & symbols).
Config.PlateLetters = 3
Config.PlateNumbers = 3
Config.PlateUseSpace = false
Config.defaultGarage = 'pillboxgarage'
Demo Video
Watch Below Video or Click here to watch
Screenshots
Buy Now from Tebex [ESX/QBCore]
Other Scripts
UPDATE [03-11-2022]
-
Added logs for all events.
Code is accessible | Yes |
Subscription-based | No |
Lines (approximately) | 3000 |
Requirements | Standalone |
Support | Yes |