Script stores in Lua - Game developer
Budget: $250 – $750 USD
STORE SYSTEM
1- If an employee owns a store, that he/she can enter the stock of the same, replenish the products, a
player producer of X product that this store sells, can replenish the stock of the store by selling it to the same
(THE STORE WILL HAVE TO HAVE SALE AND PURCHASE PRICES OF PRODUCTS) (STOCK IS
YOU MUST SAVE MAYBE IN A JSON, SAVING THE NUMBER OF ITEMS EVERY 60 SECONDS).
2- If there is no one in the store to work, that users can open the store quietly without interaction
with other users, just by pressing a button, what they buy, will give a profit percentage to the owner of the
shop (PRECONFIGURED EARNINGS IN THE SCRIPT AND FULLY EDITABLE).
3- If employees or owner are in the business, that the script recognizes it and people cannot open the menu of
purchase, this forcing them to interact with the owner or employee, at the end of the role, the employee or owner may
enable the menu to the client with some command, example: /sell [ID], by placing this command the player
(CLIENT) will be able to access the purchase menu or list of products for sale in the store.
4- Command to enter the service within the store, example: /service [IDSTORE], when using it the script must
recognize that the user (EMPLOYEE OR OWNER) is working within it, if he walks away leaving the
store, it will no longer be on duty and you must re-enable the command to return to work.
5- Being on duty and working inside the store, the script must recognize and pay the payday
automatically every 30 minutes, if the user is out of service and/or out of the store the payday will be
deactivated and will not pay. (IF A PLAYER HAS WORKED 20 MINUTES AND LEAVES THE STORE, THE
SCRIPT MUST RECOGNIZE THE 20 MINUTES ALREADY WORKED PREVIOUSLY AND PAY THEM
TEN MINUTES LATER, WORK TIME MUST NOT BE LOST)
6- THE STORE MENU SHOULD BE MANAGED WITH MOUSE AND/OR KEYBOARD, BOTH OPTIONS,
INCLUDING MOUSE WHEEL TO DOWN IN THE PRODUCT LIST, CLICKS, ENTER,
ARROWS, ETC.
VIDEO OF OUR CURRENT STORE: https://www.youtube.com/watch?v=1ErLQzJQ-xk
Documentation:
Framework we use: Redem:RP
RedeM:RP Wiki: https://docs.kanersps.pw/docs/redem/
RedM natives: https://www.vespura.com/doc/natives/
Discoveries: https://github.com/abdulkadiraktas/rdr3_discoveries
1- If an employee owns a store, that he/she can enter the stock of the same, replenish the products, a
player producer of X product that this store sells, can replenish the stock of the store by selling it to the same
(THE STORE WILL HAVE TO HAVE SALE AND PURCHASE PRICES OF PRODUCTS) (STOCK IS
YOU MUST SAVE MAYBE IN A JSON, SAVING THE NUMBER OF ITEMS EVERY 60 SECONDS).
2- If there is no one in the store to work, that users can open the store quietly without interaction
with other users, just by pressing a button, what they buy, will give a profit percentage to the owner of the
shop (PRECONFIGURED EARNINGS IN THE SCRIPT AND FULLY EDITABLE).
3- If employees or owner are in the business, that the script recognizes it and people cannot open the menu of
purchase, this forcing them to interact with the owner or employee, at the end of the role, the employee or owner may
enable the menu to the client with some command, example: /sell [ID], by placing this command the player
(CLIENT) will be able to access the purchase menu or list of products for sale in the store.
4- Command to enter the service within the store, example: /service [IDSTORE], when using it the script must
recognize that the user (EMPLOYEE OR OWNER) is working within it, if he walks away leaving the
store, it will no longer be on duty and you must re-enable the command to return to work.
5- Being on duty and working inside the store, the script must recognize and pay the payday
automatically every 30 minutes, if the user is out of service and/or out of the store the payday will be
deactivated and will not pay. (IF A PLAYER HAS WORKED 20 MINUTES AND LEAVES THE STORE, THE
SCRIPT MUST RECOGNIZE THE 20 MINUTES ALREADY WORKED PREVIOUSLY AND PAY THEM
TEN MINUTES LATER, WORK TIME MUST NOT BE LOST)
6- THE STORE MENU SHOULD BE MANAGED WITH MOUSE AND/OR KEYBOARD, BOTH OPTIONS,
INCLUDING MOUSE WHEEL TO DOWN IN THE PRODUCT LIST, CLICKS, ENTER,
ARROWS, ETC.
VIDEO OF OUR CURRENT STORE: https://www.youtube.com/watch?v=1ErLQzJQ-xk
Documentation:
Framework we use: Redem:RP
RedeM:RP Wiki: https://docs.kanersps.pw/docs/redem/
RedM natives: https://www.vespura.com/doc/natives/
Discoveries: https://github.com/abdulkadiraktas/rdr3_discoveries