NoneM
Tebex
  • Resources
    • no-base
      • Supported Resources
      • Configuration
        • Player
          • Controls
          • Actions
        • Inventory
        • Interact (Target)
        • Alerts
          • Notification
          • Indicators
    • no-alerts
      • Exports & Events
      • Notification Usage
      • Indicator Usage
    • no-chains
      • Configuration
      • Exports & Events
    • no-contextmenu
      • Exports
      • Contextmenu Usage
      • Input Menu Usage
    • no-elevators
      • Configuration
        • Elevator Creator
        • Scene Creator
        • Floor Creator
        • Door Selector
        • Icons
      • Restrictions
        • Elevator Restriction
        • Floor Restriction
    • no-gameplaycam
      • Configuration
      • Exports & Events
    • no-housing
      • Configuration
        • Buildings
          • Adding IPL Building
          • Adding Shell Building
          • Adding Building Interaction
        • Real Estate
        • Commands
        • Furniture Interactions
        • Garage
      • House Editor
        • Creating Houses
        • Editing & Removing Existing Houses
      • Furniture Editor
        • Editing Furnitures
        • Editing Furniture Categories
      • Access Sharing
      • Exports & Events
    • no-mop
      • Configuration
        • Client
        • How to disable pollution for interiors?
        • Use with commands
      • Exports & Events
    • no-newspaper
      • Configuration
        • Registering Papers
      • Exports & Events
    • no-payphone
      • Configuration
      • Integration
        • VOIP Integration
        • Phone Integration
    • no-polaroid
      • Configuration
      • Exports & Events
    • no-rappel
      • Configuration
      • Exports & Events
    • no-spy
      • Configuration
        • Client
        • Commands
      • Exports & Events
    • no-torture
      • Configuration
      • Exports & Events
    • no-trains
      • Configuration
      • Exports & Events
    • no-vehicles
      • Configuration
        • Anchor
        • Cruise
        • Indicator
        • Roll
        • Seat Belt
        • Siren Lights
        • Siren Sounds
      • Exports & Events
Powered by GitBook
On this page
  • Ready Integrations
  • Example
  1. Resources
  2. no-payphone
  3. Integration

VOIP Integration

From this section, you can learn how to integrate your own voip.

PreviousIntegrationNextPhone Integration

Last updated 1 year ago

You can find voip integrations in no-payphone/integration/voip

Voip integration is simple. You only need to add 2 functions, one of them adds the player to the call and the other one removes the player from the call.

Ready Integrations


Example


This is an example for pma-voice. You can find this integration in

no-payphone/config/integration/voip/pma-voice.lua

if _IS_SERVER or not HasResource("pma-voice") then return end

-- CLIENT START

local PMA_VOICE = exports["pma-voice"]

---@param callId number
Config.Voip.AddPlayerToCall = function(callId)
    return PMA_VOICE:addPlayerToCall(callId)
end

---@param callId number
Config.Voip.RemovePlayerFromCall = function(callId)
    return PMA_VOICE:removePlayerFromCall()
end
pma-voice
mumble-voip
toko-voip