Skip to Content
Mavix

Services

Call police, EMS, a mechanic, a taxi, a lawyer, a car dealer or the news from the phone.

What it is

The Services app lists the city's services, shows who is working right now, and lets you send a request to them.

Services: who is available, a Request button, and each worker's number.
Services: who is available, a Request button, and each worker's number.

How it works

  1. Open Services. Each service shows how many people are working (on duty) and lists them with their number, so you can text or call one directly.
  2. Press Request (for example Request Police), add an optional message and press Send Request.
  3. Everyone working in that job gets a dispatch alert with your position and number (see Notification System).
  4. You can send one request every 60 seconds.
Sending a request with an optional message.
Sending a request with an optional message.
ServiceRequest sends an alertAlert
PoliceYes10-35 Phone call
EMSYes10-52 Medical call
MechanicYes10-77 Roadside call
TaxiYes10-50 Taxi call
LawyerNo, call or text them
Car dealerNo, call or text them
NewsNo, call or text them

Keys & commands

Key / commandWhat it doesWho
F1Opens the phoneEveryone with a phone
YSets a waypoint to the last alertWorkers who get the alert

Config options

File: [scripts]/[phone]/mvx_phone/config.lua

OptionWhat it changesExample
Config.ServicesThe services listed: job name, label, alert code and title, and whether Request sends an alert{ job = 'taxi', label = 'Taxi', code = '10-50', title = 'Taxi call', alert = true }
Config.ServiceCooldownSeconds between two requests from one player60

Admin Quick Test

You need a second player. Their server ID is <id>.

Setup

  1. Type /giveitem me phone 1 and /setjob me unemployed 0.
  2. Type /setjob <id> police 0. The second player is police.

Stage 1: the list

  1. Press F1 and open Services. Police shows "1 available" with the officer's name and number. The others show "None available".

Stage 2: a request

  1. Press Request Police, type "Someone broke into my car" and press Send Request.
  2. The police player gets a 10-35 Phone call alert with your number, your message and a blip at your position. They press Y to set a waypoint.
  3. Press Request Police again straight away. It is refused: you must wait 60 seconds.

Stage 3: other services

  1. Type /setjob <id> taxi 0. Taxi now shows the player. A taxi request sends them a 10-50 Taxi call.
  2. Tap the green call icon next to a worker: their phone rings.

The end. Requests reach only the people working in that job, with the caller's position.

If it doesn't work: nobody with that job is on duty, the 60-second wait has not passed, or mvx_notify is not started (requests need it).

On this page