AW Phone
Installation
#Requirements
| Requirement | Status |
|---|---|
qb-core, qbx_core or es_extended |
Required |
oxmysql |
Required |
pma-voice (calls) |
Required |
| OneSync (on by default on current servers) | Required |
xsound (optional, Music speaker mode) |
Optional |
| Any inventory: ox_inventory, qb-inventory, qs / ps inventories that use the framework items, ESX default | Required |
#Installation
- Stop or remove your old phone (
qb-phoneor any other). - Put
aw_phonein your resources folder and add it after your framework,oxmysqlandpma-voice:server.cfgensure aw_phone - The
phoneitem must exist in your items. QBCore, Qbox and ox_inventory have it. If yours is missing, theinstall/folder has the item for ox_inventory, qb-core / qs-inventory and an SQL file for the ESX default inventory, plus a phone image ininstall/images/. No item at all: setConfig.Item = false. Another item name: changeConfig.Item. - Optional, for the verified badge command:
add_ace group.admin awphone.admin allow - Restart the server. Open the phone with F1 or by using the phone item.
All database tables are created and updated on the first start (sql/install.sql is there if you prefer to run it yourself).
#Phone numbers
- QBCore / Qbox: the number in
charinfo.phone, so other scripts show the same number. - ESX: numbers are kept in the
aw_phone_numberstable.Config.NumberPrefixputs a prefix in front of new numbers.