Installation
NRG SimCard for LBphone
Last updated
NRG SimCard for LBphone
Last updated
Before starting the installation process, ensure the following dependencies are installed:
es_extended
ox_lib
ox_inventory
lb-phone
oxmysql
ox_target
Move NRGSimCustom
to LB-Phone Script 📂
In the lb-phone
script, navigate to client > custom
.
Move the NRGSimCustom
folder directly to lb-phone > client > custom
.
Check Config.Item.Unique
in lb-phone/config/config.lua
🔧
Open lb-phone/config/config.lua
.
Locate the following line Config.Item.Unique
and Config.DatabaseChecker.AutoFix
If it is set to true
, change it to false
:
Add items to ox_inventory
Script 📝
Open the ox_inventory > data > items.lua
Add the following code for the new items:
Item Duplication Check: Before adding the above code, check if the item name already exists in the ox_inventory
configuration. If they exist replace them.
Add Script to Resources 📁
After editing the ox_inventory
, you need to ensure that the script is properly added to your server.
Place the nrg_simcard
folder inside your resources
directory.
In your server.cfg
or resources.cfg
file, add the following line to ensure the script is loaded:
Database Setup 🗄️
When you run the script for the first time, a new database called nrg_simcard
will be automatically created in your MySQL database.
Go to lb-phone/server/misc/databaseChecker/databaseChecker.lua
Find and remove or comment:
This guide will ensure a smooth installation of the NRG SimCard script. Follow the steps carefully to avoid errors and conflicts. If you encounter any issues or need further assistance, feel free to reach out!