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 AddToGovernmentAccount function in open/server/sv_main.lua to 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.lua you will need to edit all of the viewNeeded variables to match what jobs you want to do what and see what

  • Access

    • In shared/access.lua you will need to edit the view add update and remove variables to match what jobs you want to have access to what in the system

Last updated