Phone System

Official server feature documentation can be found here

Moderators: Junior Developers, Senior Lead Admins, Developers, Lead Developers

Post Reply
User avatar
Head of Development
Head of Development
Posts: 8829
Joined: Thu Mar 01, 2012 10:05 pm
Ingame name: Lucas Foreman
Location: Basement

Phone System

Post by Mmartin » Mon Oct 28, 2013 12:45 am

Script name: Phone System
Script author: Mmartin
Author Comments:

Graphic Interface | Contacts | Payphones | Radio towers & signal | SMS | Customization & Settings
Number formats | Service hotlines | Landlines a.k.a 1-800's | House & Business phones | Tracing
Operators and billing plans

Phone system is one of the major systems in LS-RP and it needed innovations. Just like the recently revamped vehicle system, it wasn't touched for a long time. Goal of the system is to induct new SAMP features and make the system more dynamic and a journey for everyone. Various required features, including burner phones, GUI, SMS inbox, radiotowers, advanced tracing, advanced payphones and basically all suggestions we received over the years were taken into consideration. Most of them made it through.

Graphic Interface:
One of the most radical changes in the phone system is taking it away from chat as much as possible. Not only because it's more appealing towards the user, but it also reduces your chat spam. This was a necessity with the phone book feature, however the call dialogue and some of the error/information messages still stay in main chat.

t's made so most of the features can be controlled by both the interface and through commands, so you don't have to worry about old habits. You'll be able to call your friend through command just same as through clicking it out in menu. Arrows and buttons are controlled with your mouse.

You can choose whether to show the phone or not, you can walk with the phone shown on your screen, have it hidden, just as you wish.

Saving your contacts with the note system is a pain, isn't it? Well, worry no more. Your contact list will be able to save up to 20 contacts, let that be your friend's number, number of that payphone on your corner, mom's house line, taxi landline or basically any number you wish to save. With a contact saved in your phone, contacting your buddy won't be any harder than /call crisrko or /sms Mario wsup, need restock? ...


  • Gold donator - 40
  • Silver donator - 32
  • Bronze donator - 24
  • Regular user - 16

72. If my second grade math skills aren't playing games with me, that's how many payphones are going to be placed over the map. Payphones come with a few new features, one of which is calling a payphone, payphone having a number, or even the ability to call a payphone from a payphone.

Payphone numbers are in format: 024-[AREACODE][UNIQUENUMBER].
List of area codes:
  • 218 - Los Santos International + Ocean Docks
  • 313 - Santa Maria Beach, Verona Beach, Marina
  • 802 - Rodeo
  • 343 - Temple, Market
  • 206 - Downtown, Pershing Square
  • 826 - Glen Park
  • 310 - East Idlewood (Harmony Oaks)
  • 216 - Verdant Bluffs
  • 415 - Idlewood
  • 516 - Ganton, El Corona, Willowfield, Playa Del Seville
  • 616 - East Beach
  • 151 - Crenshaw
  • 424 - Jefferson, Washington Block, East Los Santos
  • 806 - Vinewood, Richman, Mulholland
  • 828 - North Rock
  • 835 - Palomino Creek
  • 824 - Montgomery
  • 808 - Dillimore
  • 890 - Blueberry, Blueberry Acres, The Panopticon, Fallen Tree
  • 843 - North Flint Country, Easter Basin Chemicals, The Farm
  • 856 - Flint Country, Angel Pine, Mt. Chilliad
  • 855 - Fort Carson
  • Anything else: 999
Codes commonly used by LSRP players and factions were taken into consideration and collected by crisrko & Mario, full map of area codes is available here

ImageRadio Towers and Signal:
Several radio towers were placed all around San Andreas. All cities and even counties. As your logic surely hints you already, being close to a tower increases your signal, which later affects the quality of your transmission (you'll hardly feel this, only if your signal is below 10%). Coverage and all towers are documented here. Lack of signal in certain country side areas (e.g. Fallen Tree) will now make people come out of their trailers on the road to catch proper signal, while downtown suits have nothing to worry about, having 10 towers covering their snob arses.


Short Message Service (SMS):
The only influential changes in the SMS system are that they save, can be archived (if you don't want to loose them), deleted, forwarded or replied to. Delay between sending a SMS and it arriving is anywhere between 3-6 seconds, regardless of your signal. Upon the SMS arriving (or failing to arrive), you receive a phone emote. Note how the white blip turns green; it's green anytime you have unread messages. Due to SMS's being in the GUI as well, it'll make people actually pull over or pause their conversation to read their SMS.

Customization and Settings:
It was tough to come up with anything at all to make the phones more personal. We already had custom phone numbers and the ability to turn your phone off or back on and to that, we're adding several new settings: Airplane mode, silent mode, ringtones and various color schemes.
  • Airplane mode & Silent mode - Pretty much self explanatory. Airplane mode disables any sort of network communication - calls, SMSs or tracing won't be possible while having the airplane mode on. Silent mode disables the ringtones (read below) and automatic phone GUI displaying when receiving a call. You will be, however, informed about your phone vibrating.
  • Ringtones - Not only you and the people around you will be able to hear your phone ringing, but you'll be able to choose from around three different ringtones!
  • Color schemes - You're able to purchase phones at Verona Mall of various "models". The only thing they really differ in is the color layout. The color will differ on both the object in your hand and the GUI. Some of the available colors are red, default dark grey, blue, green, yellow, purple and orange.

Number formats:
Basic number format: prefix-number.
  • Private (regular) phone: 555-[number]
    • e.g. 555-130888
    • Note: This prefix is default and 'optional'. You won't have to use it at all.
  • Payphones: 024-[area code][unique number]
    • e.g. 024-516-025
  • Company Landlines: 1-800-[number]
    • e.g. 1-800-1236
    • Note: Company landlines will be accessible for official alternative factions

Service hotlines:
Certain jobs have certain hotlines, e.g. Taxi Driver, Mechanic, Impounder, ... You'll receive calls on the job from your customers or people demanding information. All of them, including emergency 911 calls or job calls will be toggable, thus you'll be able to turn them off if they annoy you.
List of service numbers:
  • 911 - Emergency Services Hotline - Shows for LEO/EMT personnel on duty
  • 991 - Non-emergency, this will now work just like 911 calls. You'll be able to respond to a call
  • 555 - Mechanic hotline
  • 544 - Taxi hotline
  • 533 - Impounder hotline
  • 212 - SADoC hotline
  • ??? - GOV hotline

Credits: Mario & crisrko (area codes), iGo (radio towers), KEG (service hotline texts), LS-RP community (awesome suggestions!)

Toll Free numbers (1-800's) - Faction landlines:
(click the image to enlarge)
Feature designed for alternative factions which provides the members a new way to communicate with its customers or subscribers. The landline is fully customizable, ranging from color setup to ranks that may operate the line or its number. Numbers are in format of 1-800-{Landline number / text}, so for example San Andreas Network (as showed in the example) could have 1-800-SAN. The landline provides history of calls (since last server restart) and history of text messages (20 most recent messages are loaded at server restart). Landline operators may view details about last calls/texts - such as number of the player, time of the call or its duration. Landline administrators (restriction can be customized per faction) are available to open or close the line and hang up calls of other operators.

Tracing has been an issue. Numerous people complained about its misuse and there was a bunch of inquiries to remove the feature for civilians (civ. detective job), and that's happening. Tracing will be only available for LSPD and SASD detectives and high ranked personnel. There's two forms of tracing, private and faction-wide. While a detective can trace for himself, a higher ranked faction member can do a faction wide trace (e.g. at joint operations). Tracing will look and work different now, preview of faction wide trace is below:


Note: precision, accuracy and size of highlighted map area depends on how many towers are covering the area.

Operators and billing plans:
Competition is in the air of LS and multiple phone operators are dying to offer you best contract deal ever. You're be able to choose from several (2-3) operators for your cellular device, while each of them offers you different billing plan. There's two contract types, regular and prepaid. While regular contract offers you the standard services you're expecting, therefore you only pay for what you spend and you're billed at the end of each phone call / text message. With prepaid cellphones, you have certain amount of prepaid credit you can spend or re-charge once you run out of it. If you wish to get rid of your current prepaid phone, you can simply toss it away and buy a new one. Some of you may already suspect what's coming - yes, Burner phones!

(Click to enlarge)
Prepaid phone feature is mostly aimed for criminals to make police's life a little harder. All numbers from prepaid plans are in format 09X-YYY-ZZZ, where X is operator's unique code and Y + Z are unique, random numbers. These numbers cannot be obtained through police MDC, RP means, surveillance needs to be done. However, basic features, such as tracing still work for the devices.

On top of that, you're able to have both regular and prepaid contract going on at the same time, which leaves space for civilians role-players, who wish to have one phone dedicated for their personal life and second one as an emergency/work phone.

Note: This feature is optional. It doesn't require to be maintained frequently unless you wish to get all benefits of it.

User avatar
Head of Development
Head of Development
Posts: 8829
Joined: Thu Mar 01, 2012 10:05 pm
Ingame name: Lucas Foreman
Location: Basement


Post by Mmartin » Fri Nov 01, 2013 10:01 pm

/phone (/ph)
    Toggles the phone GUI.
/phonecursor (/phonemouse, /pc)
    Toggles the mouse on screen (press ESC to get rid of it).
/sms [number/contact] [text] (/text, /txt)
    Sends a text message. Contact name can be specified.
/call [number/contact] (/c)
    Makes a call. Contact name can be specified.
/pickup (/p)
    Picks up a call.
/hangup (/h)
    Hangs up a call.
    Toggles the loudspeaker.
/payphone (/unknowncall, /paycall, /prisoncall)
    Opens the payphone GUI (picks up the call if payphone is being called), or calls a number specified.
    Opens the phone operator interface.
    Opens the phone shop interface.
/togjobcalls (/togc, /tjc)
    Toggles job calls (mechanic, taxi, 911, ...).
    Drops your cellphone and erases your data (including number). You can't revert this!.
/rne [playerid/PartOfName]
    → Cops only: Responds to a non emergency call.
/trace [number]
    → State Agents only: Runs a trace on a number.
/ftrace [number]
    → State Agents only: Runs a trace on a number, whole faction can see the result.
    → State Agents only: Opens the Faction Landline interface.
/pl [line]
    → State Agents only: Picks up a landline call.
/showcontacts [playerid/partOfName]
    Shows your contact list to another player.
/showcontact [playerid/partOfName] [contact name]
    Shows a specific contact to another player.

User avatar
Head of Development
Head of Development
Posts: 8829
Joined: Thu Mar 01, 2012 10:05 pm
Ingame name: Lucas Foreman
Location: Basement


Post by Mmartin » Sun Dec 29, 2013 6:20 pm

[1 July 2014]
- Phone contacts sort alphabetically on reconnect to improve efficiency
- Bug with contact showing empty right after adding it fixed
- Bug where players could sign up with an operator without having money for it fixed
- Fixes done to the /operator dialog
- Taxi calls fixed
- Money from phone covers are now added to your operator's bizbank
- Bug where you couldn't purchase a radio station properly fixed
- Added /prisoncall as a macro to /payphone (and /unknowncall and /paycall)
- Added /txt as a macro for /sms (and /text)
- Added /tjc and /togc as a macro for /togjobcalls
- /dropcell now erases your contacts, SMS inbox, SMS archive
- /dropcell now prunes your phone settings (ringtones, etc) and color scheme
- You can no longer toggle mechanic calls (unless on admin duty)
- /phoneshop changed to /buy. Original command still works for compatibility
- Ordering a radio station now works properly

[30 June 2014]
- Trace moved over to the top line of 911's to save space
- Various bugs throughout the script fixed

[30 June 2014]
- You can no longer spam /call
- You can now hang up before you get to the dialing screen
- /dropcell fixed
- Contacts are now automatically ordered alphabetically
- Clicking the blip (white/green circle) in GUI now takes you directly to your
phone inbox
- Phone screen saves when hiding it, therefore after taking it out again, it'll
still be there

[30 June 2014]
- Increased the reaction distance of payphones
- Added a "You're not next to a payphone" message if you aren't next to a payphone.
- Players can no longer see when a tester denies/accepts a payphone ad request.
- Job calls (taxi, car mechanic, etc) now support side jobs too
- Bug with numbers below 50 not showing when /call'd fixed
- Cosmetical adjustments to some messages.

[29 June 2014]
- Version 1 released

User avatar
Head of Development
Head of Development
Posts: 8829
Joined: Thu Mar 01, 2012 10:05 pm
Ingame name: Lucas Foreman
Location: Basement

Re: Phone System

Post by Mmartin » Sun Jun 29, 2014 7:09 pm

Version 1 released. Burner phones and fixes for bugs that pop up are to follow.

User avatar
Head of Development
Head of Development
Posts: 8829
Joined: Thu Mar 01, 2012 10:05 pm
Ingame name: Lucas Foreman
Location: Basement

Re: Phone System

Post by Mmartin » Mon Jul 07, 2014 8:30 pm


Selfies added!

Post Reply

Return to “Feature documentation”

Who is online

Users browsing this forum: Eren