CN Banking — aperçu

CN Banking

Banque ESX / QBCore — dépôts, retraits, factures, historique.

Dépendances

  • Framework ESX ou QB (framework.lua + détection).
  • MySQL via ghmattimysql dans le code serveur (exports.ghmattimysql) — adaptez si vous utilisez oxmysql uniquement.

Installation

  1. Importer banksql.sql.
  2. ensure cn-banking après le framework et le connecteur MySQL compatible.

Configuration

config.lua, framework.lua — choix ESX/QB et options banque / factures.

Écrans de mort

Non applicable.

Exports & événements

Écouter les events enregistrés dans server/main.lua et client/main.lua pour intégrations facturation / transferts.

State bags

Non applicable.

Personnalisations

UI dans html/script.js, style.css.

Problèmes fréquents

  • Erreurs MySQL : confirmer que ghmattimysql est démarré ou adapter les appels.
  • Comptes joueurs : tables framework (users / players) doivent correspondre à la version attendue.