----INSTALLATION DETAILS

- execute the phone.sql
- add tc-phone and camera to your server.cfg
------------------------

----Config
For saltychat:
 -You just need write "saltychat" to ScriptName variable.
For pma-voice:
 -Don't change anything, scripts defaults are compatible with pma-voice.
For mumblevoip & tokovoip:
 -Change the ScriptName variable to your voicechat script name.
 -Change AddPlayer, RemovePlayer functions with your own voicechat scripts functions.
----------



----EXPORTS

exports["tc-phone"]:Notify(title, message, sender)
exports["tc-phone"]:Call(number)
exports['tc-phone']:SendMailToEveryone(subject, sender, message)
exports['tc-phone']:SendMailToPlayer(playerId, subject, sender, message)
local InCall = exports["tc-phone"]:IsInCall()
local IsPhoneOpened = exports["tc-phone"]:IsOpen()
local PhoneNumber = exports["tc-phone"]:GetPhoneNumber()
-----------



> ref (ESX = nil
Config.GetSharedObject(function(obj) ESX = obj end)

CurrentCalls = {}
Incall = {}
GoingCall = {}

