[ESX] [FREE] GMD_Rewards | Open Source | Coin System | Coin Shop | Welcome Gift

Dear CFX Community,

I am pleased to introduce a new script from GMD_Scripts.

With this script, your new players can claim a welcome gift, which can be easily enabled or disabled via the Config.lua file. In this welcome gift, you can choose whether the player receives only money or also a vehicle. Additionally, this code includes a Coin Timer that automatically rewards your players for their playtime. A shop for redeeming the coins is also included and can be customized by you. At the shop, you can activate an NPC that greets your players in real-time.

Key features of the script:

  • Customizable Coinshop via Table
  • Personalized Cointimer
  • Easy configuration through Config.lua
  • Simple integration into NUIs ( exports['GMD_Rewards]:GetCoins )
  • Includes Debug Mode (making it accessible for beginners)
  • Completely Open Source
  • Realistic NPC
  • Clear Locals
VIDEO PEVIEW

[YoutTube](COMING SOON)

SCRIPT PREVIEW

image


DOWNLOAD

DOWNLOAD

Code is accessible Yes
Subscription-based No
Lines (approximately) 998
Requirements es_extended, ox_lib
Support Yes
Planned updates Yes
6 Likes

where is the sql bro

1 Like

You don’t need one, the script does it by itself :slight_smile:

1 Like

Oh I forgot to comment something again please go welcome_sv.lua and comment this column or download it again. Sry guys

thx brother and i dont have a /givecoins command but how to get points ?

Your players will automatically get coins after the timer expires depending on how you set it up. I can add a givecoin command to an update if desired

image

1 Like

Omg! Please this in QB-CORE :wink:

1 Like

Brilliant script!

1 Like

Nice scripts and free

1 Like

Is there any way to see the number of coins available?

1 Like

No, not yet, but when the player finishes the time, the current coin balance will be displayed. If you like, I can add it today that you can display your coins via command

I got this error with esx legaxy

Do this
image

I’ll have a look tomorrow and will also update command, but today I’ll continue with my Cutscene Airline

1 Like

New updated file is available,

CHANGELOG:

  • Added getmycoins command (Shows the player his coins via Notify) (Command can be customized in config.lua)
  • fix export (Now the export can be used in your HUDs)
  • added new locals for coin massage

Example:

ClientSide:

SendNUIMessage({
      coins = exports['GMD_Rewards']:GetCoins(PlayerPedId())
})

You have to store the design in your NUI, i.e. HTML, CSS and JS yourself, the export can be used in the appropriate NUI code to display the current coins live

1 Like

image
i’m buy vehicle for 50 coins The right to the car has not been deducted

I’ll take a look at it straight away, thanks for the tip

1 Like

Fixed Version its uploaded.

CHANGELOG:

  • Fix Config Name
  • Add RemoveCoin() to Vehicle Buy
1 Like

I forgot to tell you why I buy a car. I have 2 cars in the car shop for 5 coins
And a car for 50 coins
The car is purchased for 5 coins, not 50 coins

its fixed other set debugmode true and show prints, by me works greet

1 Like

image
/getmycoins

Buy New Car

image

image

in garage
image

1 Like