SQL Installations

SQL installation brief for mBank resource.

For ESX

The ones for ESX are:

ALTER TABLE `users` ADD COLUMN `iban` varchar(255) NULL DEFAULT NULL;

And in the codem bank file you must read the sql files named " codem_bank_data " and " codem_bank_society_log ".

For QB

The ones for QB are:

Go to " qbcore/server/player.lua " and then copy this code to charinfo section.

 PlayerData.charinfo.iban = PlayerData.charinfo.iban ~= nil and PlayerData.charinfo.iban or math.random(0,999999)

And in the codem bank file you must read the sql files named " codem_bank_data " and " codem_bank_society_log ".

Last updated