This script protected escrow system
[Discord]
izzy-giveawayv2 โ Giveaway & Reward System for FiveM
๐ฆ Overview
* Run server giveaways, join them, and pick winners automatically when time runs out
* Works with ESX, QBCore, and QBox (auto-detect)
* Open the menu with /giveaway or /cekilisac โ everyone can join
* Giveaways are saved in giveaways.json โ they persist after restarts
* Requires mysql-async (for vehicle rewards)
๐ค Profile area
* Your character name shows in the menu
* Profile avatar on participant and winner lists (11 preset profile images)
* โCreated byโ shows who started the giveaway
๐ Active giveaways
* See all active giveaways โ name, description, prizes, time left
* Search giveaways โ search box (search_placeholder)
* Join or leave a giveaway
* Participant count updates live
* Canโt join when full โ max participants set in config
๐ Completed giveaways
* Finished giveaways in a separate tab
* View winners and prizes
* If you won, use CLAIM REWARD โ one-time claim
* Marked when the reward is already claimed
๐ New giveaway announcements
* When an admin starts a giveaway, all players get an announcement popup
* Winner congratulations popup (auto-close time is configurable)
๐ฎ Create a giveaway (admin)
* Access: Config.AdminIdentifiers (Steam / Discord / License) or QBCore admin / god
* Name and description
* Duration โ min 5 minutes, max 168 hours (7 days)
* Participants: min 2, max 500
* Winners: min 1, max 10
* Add multiple prizes โ categories from config:
ย * Weapon โ code and amount
ย * Item โ code and amount
ย * Money โ cash or bank, amount
ย * Vehicle โ model and label โ added to garage (QB: player_vehicles, ESX: owned_vehicles)
* Delete a giveaway โ with confirmation (admin)
โฑ๏ธ When time ends
* Winners are drawn from participants
* Online winners get a notification
* Server checks more often near expiry (smart timer for performance)
๐ Languages
* Turkish, English, and Arabic โ Config.Language (tr, en, ar)
* UI, categories, notifications, and messages follow your choice
๐ Player messages (customizable in config)
* Joined / left / already joined
* Giveaway full / expired
* Not a winner / reward already claimed
* Successful payout or vehicle added to garage
๐ ๏ธ Setup (server owners)
* config.lua โ admin IDs, duration/participant limits, categories, language
* giveaways.json โ giveaway data (created automatically)
* utils.lua โ framework and reward delivery
* Escrow ignore: client, server, config, utils
* mysql-async must be installed