refactor: swap to oxmysql

ESX officially uses oxmysql with new syntax, so follow suite.
This commit is contained in:
Linden
2022-02-12 05:58:45 +11:00
parent 02352a8e18
commit 72450dfcd6
7 changed files with 74 additions and 101 deletions
+3 -5
View File
@@ -1,6 +1,9 @@
Config = {}
Config.Locale = 'en'
-- Allows players to delete their characters
Config.CanDelete = true
if IsDuplicityVersion() then
-- This is the default number of slots for EVERY player
-- If you want to manage extra slots for specific players you can do it by using '/setslots' and '/remslots' commands
@@ -8,7 +11,6 @@ if IsDuplicityVersion() then
--------------------
-- Text to prepend to each character (char#:identifier) - keep it short
-- if you change the length, you will need to modify es_extended (refer to the readme)
Config.Prefix = 'char'
--------------------
@@ -21,10 +23,6 @@ else
Config.Spawn = vector4(-113.7, 565.3, 195.2, 0)
--------------------
-- Allows players to delete their characters
Config.CanDelete = true
--------------------
-- Do not use unless you are prepared to adjust your resources to correctly reset data
-- Information: https://github.com/thelindat/esx_multicharacter#relogging
Config.Relog = true