Setup
Instructions for the Government System Setup
Start Up
On the initial start-up of the script, the system will automatically create all the required SQL tables. Before starting the script you WILL need to navigate to shared/shared.lua and configure Shared.Database Shared.Framework Shared.Inventory Shared.Target so the script can setup without issues
Functions to edit
AddToGovernmentAccount
You will need to edit the
AddToGovernmentAccountfunction inopen/server/sv_main.luato match your banking system to deposit all money received from taxes into your mayor/government bank account
SendMail
This function is used to send mails to players to update them about appointments, case info, etc. Edit to match your phone functions
BanPlayer
Edit this function to match your framework/custom ban system
Variables to edit
View Needed
In
shared/actions.luayou will need to edit all of theviewNeededvariables to match what jobs you want to do what and see what
Access
In
shared/access.luayou will need to edit theviewaddupdateandremovevariables to match what jobs you want to have access to what in the system
Last updated