Installation
Setup Config and Licensekey
Extraction
Extract the file inside your resource folder, it is important you call it omik_callist
Add to server.cfg
info
Ensure the resource is started after your framework and database resource.
- Add the following to your
server.cfg
ensure omik_callist
Setup Config
- Now go to
omik_callist
and openconfig.lua
- The fields in
config.lua
you need to go through and fill out
tip
Config.phone
is the phone you are using on the server
./omik_callist/config.lua
...
Config.framework = "qbcore" -- esx // vrp // qbcore // standalone
Config.phone = "qb-phone" -- high_phone // qb-phone // gcphone // gksphone // qbus-phone // qs-smartphone // roadphone // npwd // lb-phone
...
Critical - Phone Number Logic
After setting your framework, you must verify that the phone number logic in server/frameworks/<framework>.lua
is correctly implemented. The GetPlayerPhone
function must be able to retrieve player phone numbers properly.
If this function is not working correctly, the call list will not function as it won't be able to find any phone numbers. Please verify that:
- The
GetPlayerPhone
function exists in your framework file - It correctly returns the player's phone number from your database
- The database structure matches your framework's phone number storage method
If you experience issues with calls not appearing after setup, check this first!
Insert Licensekey
- Now you have set up both config files, you just need to insert your Licensekey in the file
licensekey.lua
tip
Replace <licensekey>
with your licensekey
Custom logo
- Open the folder
omik_callist/assets
- Replace
logo.png
with your own logo
Custom notifikationslyd
- Open the folder
omik_callist/assets
- Replace
notification.ogg
with your own sound