Generate SSN for Players


READ IT!

If you have your server already started and you already have players registered, you need to generate SSNs for your players. Below you will find the points you need to go through to do this.

  1. Adjust SSN format

Go to vms_cityhall/server/modules/ssn.lua and in the first line you have to customize your birth date format stored on your server.

By default, the date of birth in ESX is stored in the column dateofbirth.

vms_cityhall/server/modules/ssn.lua

  1. Generate SSN's

After starting the server, type the command _generatessn, then for each registered user in the table will create SSNs based on date of birth and gender.

  1. Final

When the process is complete, you will get this message in your console:

This means that the generation of SSNs has been completed, restart the server!

Last updated

Was this helpful?