Skip to content

RealHartlMax/s-phone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s-phone

s-phone is a RedM station phone system for VORP servers.

Compatibility

  • Voice system: pma-voice only

Features

  • Station-based phone calls between configured phone locations
  • Optional job-locked phones (for example police-only stations)
  • 3D ringing sound via xsound
  • Localized texts (German and English)

Dependencies

  • vorp_core
  • vorp_utils
  • menuapi
  • pma-voice
  • xsound

Installation

  1. Download and install xsound from https://github.com/Xogy/xsound
  2. Place both resources in your server resources folder:
    • xsound
    • s-phone
  3. Add these lines to your server.cfg in correct order:
    • ensure vorp_core
    • ensure vorp_utils
    • ensure menuapi
    • ensure pma-voice
    • ensure xsound
    • ensure s-phone
  4. Restart the server.

Usage

  1. Walk to a configured phone location.
  2. Hold the configured interaction key (default: G) to use the phone.
  3. Select a destination phone from the menu.
  4. At the destination station, another player can answer the incoming call.
  5. During an active call, press R to hang up.

Notes

  • Phone locations, jobs and channels are configured in shared/config.lua.
  • This resource currently uses pma-voice call channels.
  • Anti-spam call limits can be configured in shared/config.lua:
    • Config.CallRateLimitWindowSeconds
    • Config.CallRateLimitMaxAttempts
    • Config.CallRateLimitCooldownSeconds

Credits

  • Created by huzurweriN & RealHartlMax.

About

Phone script for vorp

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages