NS Phone (ns_phone) by nightstudios is a phone for older ESX servers (ESX 1.2) using mysql-async. It has its own NUI with several apps and connects to SaltyChat, TokoVOIP or MumbleVOIP for calls. It works only with ESX; there is no QBCore or pma-voice integration.
Features
- Calls: call any number, with missed call notifications.
- Messages: write to contacts or to numbers that are not in your contacts.
- Contacts: create, edit and delete contacts, mark favourites, share a contact with the nearest player, and call or message directly from the contact page.
- Notes: create, edit and delete notes.
- Health: steps are counted and saved to the database every night at 00:00, with a statistics page.
- Emergency calls: send an emergency call to any job that is enabled in the database; the receiving job can set a waypoint to the call or delete it.
- Wallet: shows your balance and lets you transfer money to other players, even when they are offline.
- Settings: sounds on or off, background, lock screen and flight mode.
- Phone item required to open the phone (item name configurable, can be turned off); opens with F1 by default.
- English and German texts.
Requirements
- ESX 1.2 (1.1 not tested)
- mysql-async
- SaltyChat, TokoVOIP or MumbleVOIP (set
Config.VoicePlugin)
Installation
- Import
run.sql. It addsphone_numberandstepstousers,hasapptojobs, and creates thens_phone_*tables. If another phone script already added aphone_numbercolumn, adjust the SQL first. - Copy
ns_phoneinto yourresourcesfolder. - Set voice plugin, locale, open key and phone item in
configs/config.lua. - Add
ensure ns_phoneto your server config.