O
O
Omolix2021-04-17 22:09:46
Lua
Omolix, 2021-04-17 22:09:46

MTA (Multi Theft Auto) LUA How to mount a database from another folder?

There is a code:

local DBC = dbConnect ( 
  "sqlite",
  "internal.db"
)

The base - internal.db is located at this path ..\server\mods\deathmatch\internal.db, and the .lua file is ..\server\mods\deathmatch\resources\[tools]\licer\licer.lua
How to connect this base if the database is dynamic and it will not be possible to simply transfer it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RIGZI, 2021-04-18
@RIGZI

The answer is internal.db: contains user account data (usernames, hashed passwords, and account data saved using the setAccountData and getAccountData functions).
Source

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question