Workplace Script is a FiveM rental center for business locations. Players browse the available workplaces in a menu, rent one for 30 days and then manage their staff by hiring or firing workers.
Features
- Rental menu that lists each workplace with image, name, description, price and size
- Rentals run for 30 days. When a rental ends, the owner and all employees of that business are set to unemployed
- Your cash and bank balance are shown in the menu
- Business owners open their menu with the
businesscommand to hire or fire workers - Edit images, descriptions, prices, names, coordinates and sizes, and add or remove workplaces (workplaces are stored in the
frkn_workplacetable) - Rules: a workplace that is already rented cannot be rented again, each player can hold only one workplace, and renting requires enough money
Jobs are not included. You link each workplace to one of your own jobs by entering the job name.
Requirements
- PolyZone
- mysql-async
Installation
- Import
work.sqlinto your database. - Set the coordinates in
config.lua. - Add
ensure frkn-workplaceto your server.cfg.