[QB / ESX] IF Gift System V1

Video Preview :



  • Fully Customizable
  • Resmon 0.0ms
  • Blacklist Item System
  • Easy gifts for your players
  • Take each images from inventory script and fivem vehicle docs
  • Discord Webhook For Logs
  • Full Responsive UI (4k Supported)

Update Soon :bell:

  • Add permission to use gift command
  • Add Job requirement to open gift menu
  • Add location to open gift menu
  • → Your Opinion :sparkling_heart: help us to improve that resource …

  • ESX
  • QBCore

Config = {}

Config.Framework = 'QB' -- ESX or QB
Config.FrameworkCore = 'qb-core' -- es_extended, qb-core, if-core, ...

Config.Locales = {
    ["giftYourself"] = "You cannot gift yourself!",
    ["noPlayerFound"] = "There isn't any player with this ID on the server!",
    ["notEnoughItems"] = "You dont have that much!",
    ["invalidGift"] = "The gift is invalid!"
}

Config.System = {
    ["Command"] = "gift"
}

Config.ItemImage = "./images/diamond1.png"
--Config.ItemImage = "nui://if-inventory/web/images/{item}.png" -- "{item}" will be replaced with the item name

Config.VehicleImage = "./images/diamond1.png"
--Config.VehicleImage = "https://docs.fivem.net/vehicles/{vehicleModel}.webp" -- "{vehicleModel}" will be replaced with the vehicle model

Config.Webhook = {
    ['onGift'] = { -- On Gift
        link = '', -- Discord webhook link
        title = 'Gift System - onGift',
        color = 65280,
        description = "Sender: **%s (%s)**\nTo: **%s (%s)**\nGift: **%s**\nMessage: **%s**", -- (senderCharName, senderId, targetName, targetId, giftContent, giftMessage)
        authorName = "Gift Logs",
        authorUrl = "https://cdn.discordapp.com/icons/925082868831617074/49e4c022837fc9d876378d44840ff0da.webp?size=128",
    }
}

Config.ItemBlackList = { -- Items that can't be gifted
    ["phone"] = true,
}

-- Client Notification
function Notify(msg)
    TriggerEvent('notifications', "#f1f1f1", "INFORMATION", msg)
    TriggerEvent('esx:showNotification', msg)
    TriggerEvent('QBCore:Notify', msg)
end

BUY

|-------------------------------------|----------------------------|
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | +500 |
| Requirements | ESX / QBCore |
| Support | Yes |