[Preview]
Preview Link (img)
[Explanation]
This resource gives your players vehicle as a reward (can be changed very easily) for playing for X hours (can be set uped in shared/config.lua)
Every 60 minutes, the hour counter is moved by +1, making players being close to the prize, and every 60 seconds, 1 minute on the minute counter is reduced (when the minute counter is on 0, a hour will be added and a minute counter will be restarted).
It is fully responsive, like any of our other resources that contain NUI.
Reward, money amount, item, item count, plates (letters, numbers and spaces) and vehicle name that will be given as a reward can be configured in the config.lua file.
Download (FREE)
Get this resource at GitHub
or
Playtime Reward.zip (164.2 KB)
7 Likes
broooo its what i was searching for thank you very much bro. its like grand rp
2 Likes
You are welcome, I like Grand RPβs resources (especially ones with UIβs) and there will be more in the future.
As a reward, yes, you just have to do little edit in the server side:
Replace:
From 38 to 55 with:
xPlayer.addInventoryItem('item_name', count)
can this be converted to qbcore plz
Yes. I will convert it ro QBCore tonight.
1 Like
Thank you, you are welcome.
what happens when the timer is up and the player got the reward? will the timer start again from 0 or will there be no timer anymore for the player who already received the reward?
The timer will start again from 0, but can be disabled with one if function, if needed will be done in the next update.
1 Like
hi saw there we can only add one reward how we can add more like money items ?
bro i getting this error any idea ?
Will make options in config for what will be given as a reward.
1 Like