gpScripts Docs
StoreDiscordYoutube
  • 📔gpScripts
  • Clothingshop
    • Installation
    • Developers
      • Client
  • 💰InsuranceSystem
    • Installation
    • Developers
      • Client
      • Server
  • 📲Businesscards
    • Installation
    • Developers
      • Events
  • 🛡️visumsystem
    • Installation
    • Developers
      • Commands
      • Exports
      • Events
    • Code Snippets
      • QB-Garages
  • ☎️Emergencyphone
    • Installation
    • Common mistakes
      • Common mistakes
    • Developer
      • Events
  • 💵Tax-System
    • Installation
      • Step 1 - SQL-File
      • Step 2 - [QB-Core] Changes
      • Step 3 - [ESX] Changes
      • Step 4 - Restart your server
      • Step 5 - Set first deduction date
    • Exclude inactive vehicles
    • Common mistakes
      • Common mistakes
    • Developer
      • Events
Powered by GitBook
On this page
  • 1. Insert the .sql file to your database
  • 2. Install dependencys
  • 3. Restart your Server
  • 4. Config

Was this helpful?

  1. visumsystem

Installation

PreviousEventsNextDevelopers

Last updated 6 months ago

Was this helpful?

Please go through each step carefully and allow enough time. Support tickets opened due to simple errors will be forwarded to the documentation.

1. Insert the .sql file to your database


2. Install dependencys


3. Restart your Server

In order for your new asset to be recognized and the database changes to be applied, you must restart the server!


4. Config

The visa system has a relatively large config. You should adjust everything in peace through and accordingly. All settings have an additional comment to briefly explain what it does.

Restarts

The visa end of the players is set via the server restarts. This means that the players' visa always ends at the time of a server restart. This makes things easier and more efficient. Enter all server restarts in the config accordingly, so that the visa end is always placed perfectly at a server restart.

Current Players

You decide what happens to players who are already playing on the server before the visa system is integrated.

Either these players will have their whitelist directly..

Config.fetchOldPlayers = true

..or they will have a visum as well.

Config.fetchOldPlayers = true

For both versions you have to enter the command "fetchplayer" once in the server console. This will add all old players to the visa table.

Visum-Vehicles

Players can pick up a visa vehicle from the NPC which they can use for the duration of the visa. When the visa expires, the vehicle is automatically confiscated. Everything in the vehicle will be deleted!

The reason for this is that there are many different systems for storing items in cars.

There are also important functions in the Config. So that everything works with your system you should have a look at these functions and if necessary adapt them to your systems

🛡️
NativeUI