[PAID] Novel Donation | Donation/Redeem Script [ESX]

A script by aRii0

No reviews yet.
[PAID] Novel Donation | Donation/Redeem Script  [ESX] main image

Price

$15.00

Full Description

-------

Halloween Sale :jack_o_lantern::money_with_wings::money_with_wings:

Currently we have started our Halloween Sale with 30% discount. Get Novel Donation for 10€

-------

Novel Donation :money_with_wings:

Novel Donation is a script with which you as a server owner can easily
create keys for cars, weapons, items or money.
The keys can then be redeemed by players.
With Novel Donation you can create up to 300 keys at once within a few milliseconds.
The script can be configured in any way,
it is customizable to any garage and works with all ESX versions.

  • Selects all items from the items table from the database

  • Vehicles are selected from the database

  • Vehicles and aircraft can also be added via config

  • The script can be adapted to all garages. By default it is set for esx_garage/esx_advancedgarages.

  • Weapons are added per config

  • If an incorrect vehicle has been entered, the key will not be redeemed and the player plus support will be contacted.

  • 300 keys can be created at once within a few milliseconds.

  • The design can be completely customized.

  • Several keys cannot be redeemed directly one after the other.

Youtube Showcase

UI Desing :jigsaw::

Config = {}

Config.GetESXServer = function()
	local ESX
	--ESX = exports["es_extended"]:getSharedObject()
	TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
	return ESX
end

Config.GetESXClient = function()
	local ESX
	while ESX == nil do
		--ESX = exports["es_extended"]:getSharedObject()
		TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
		Citizen.Wait(0)
	end
	return ESX
end


Config.Webhook = "https://discord.com/api/webhooks/937657842528321566/IvDWOTgomipUCGEFOeB9sMYKOJV3m8JRP7CVAMRrVxZzB7pipbr3Ic4HZPSjX7TyUevI"

Config.GetVehilcePlate = function()
    return exports.esx_vehicleshop:GeneratePlate()
end


Config.adminGroups = {
    {name="superadmin"},
    {name="admin"}
}

Config.AccountMoney = "money"
Config.AccountBankMoney = "bank"
Config.AccountBlackMoney = "black_money"


Config.Vehicles = { 
    {name=""},
    {name=""}
}

Config.AirCraft = {
    {name=""}
}

Config.Weapons = {
    {name = "weapon_pistol"}
}

Config.Locals = {
["VehicleNotExist"] = "The vehicle does not exist, please contact support!",
["CreatingKeyWait"] = "Keys are already being created, please be patient!",
["ToManyKeys"] = "You are not allowed to create more than 300 keys at once!",
["NotEnoughKeys"] = "The key quantity cannot be 0!",
["NotEnoughItems"] = "The item quantity cannot be 0!",
["WaitAMoment"] = "Please wait a moment!",
["KeyIsNull"] = "You must enter a key!",
["YouGetMoney"] = "You received %s$ %s.",
["YouGetAItem"] = "You received %sX %s.",
["YouGetAWeapon"] = "You received the weapons %s.",
["YouHaveAlreadyTheWeapon"] = "You already have the weapon %s! Please put it aside and redeem the key again!",
["KeyActivated"] = "Key redeemed.",
["KeyAlreadyActivated"] = "The key has already been redeemed!",
["VehicleReceived"] = "Vehicle received!",
["YouGetAVehicle"] = "You received a vehicle with the license plate %s.",
["CarFailedWebhook"] = "Error redeeming a vehicle\n vehicle could not be spawned!",
}

function Notify(source, msg)
    if source == nil then 
        TriggerEvent('notifications', "#66ff00", "INFORMATION", msg)
        return
    end
    TriggerClientEvent('notifications', source, "#66ff00", "INFORMATION", msg)
end

  • You can configure the script to your garage in the Client\custom_event.lua. By default it is set to an esx_garage/esx_advancedgarages.
  • In the Server\custom_event.lua custom code can be included when a player redeems a key.

Price: 15€ ink. Tax
Buy here on Tebex

Code is accessible only custom_event.lua
Subscription-based No
Lines (approximately) 900
Requirements ESX, MySQL-Async
Support Yes

Escrowed by FiveM