Veil Development Documentation
  • General
    • Documentation
    • Support
  • Paid Resources
    • Gang System
      • Installing the Resource
      • Creating Gang Sprays
      • Setup
      • Activity System Guide
      • Listeners
      • Common Errors
      • Available Functions
      • Commands
    • Government System
      • Installing the Resource
      • Setup
      • Listeners and Exports
      • Item Setup
    • K9 System
      • Installing the Resource
    • Image Placer
      • Installing the Resource
      • Setup
Powered by GitBook
On this page
  1. Paid Resources
  2. Government System

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

PreviousInstalling the ResourceNextListeners and Exports

Last updated 8 months ago