Commands and usage
#Camera and photos
Set one upload option in config.lua:
- Config.Camera.Fivemanage = 'your token' (recommended, the token stays on the server)
- or Config.Camera.Webhook = 'https://discord.com/api/webhooks/...'
The camera works inside the phone, like a real phone. The phone stays open and everything is done with the mouse: - The live picture shows on the phone screen (the camera is in the phone in your hand) - Shutter button: photo, or start / stop a video (red timer while recording) - PHOTO / VIDEO: click to switch (photos 3:4, videos upright 9:16) - Zoom: the .5 / 1 / 2 / 3 buttons or the mouse wheel on the picture (0.5x to 8x) - Drag the picture to turn the camera (you turn with it), click it to focus - Flip button: selfie camera - Top buttons: flash (lights the scene for the shot), timer (3s / 10s), grid - Bottom left: the last shot, click it to open Photos
Shots show up in Photos at once; the upload runs behind (a small circle shows until it is done). No extra resource is needed (screenshot-basic is not used any more).
Videos have no sound. Settings in Config.Camera.Video: MaxSeconds, DailyLimit, Bitrate, Fps, Size.
Videos play in Photos (tap to play, scrub bar) and can be sent in Messages and group chats.
If the camera picture is ever upside down on your server, set Config.Camera.Video.FlipFix = true.
#Calls
- Calls go through pma-voice. The server puts both players in a private call channel (a random number per call).
Shown states: calling, ringing, busy (already in a call), no answer, declined, not available (offline, no phone, airplane mode).
Hide the call screen and it stays in the bar at the top of the screen; with the phone closed, answer / end with
Config.AnswerKey/Config.DeclineKey. - One new call every 3 seconds per player, so nobody can spam rings or missed calls.
#Keys
| Key | Action |
|---|---|
F1 |
Open / close the phone |
Y |
Answer a call (also when the phone is closed) |
N |
Decline / hang up |
Esc / Backspace / right click |
Back (like the back gesture of a phone) |
| Drag from the left edge to the right | Back (the page follows the mouse) |
| Click or drag up the bar at the bottom | Home |
Players can change the keys in GTA Settings > Key Bindings > FiveM.
#Apps
| App | What it does |
|---|---|
| Phone | Keypad, recents, favourites and contacts. Voice calls through pma-voice |
| Messages | Conversations and group chats, unread badges, photos and locations (one click sets a waypoint) |
| Contacts | Add, edit, favourite, share your number with the closest player |
| Mail from jobs and scripts, with an optional action button | |
| Bank | Balance, transfers to any phone number, history |
| Pulse | Social network: For You and Following feeds, replies, reposts, quotes, photo posts, likes, #tags and trending, @mentions, profiles with followers, activity, verified badges |
| Glimpse | Photo sharing: feed, 24 hour stories, double click to like, comments, profile grid |
| Crush | Dating: profile (18+), like / pass cards, matches with the number to start a chat |
| Crypto | Three made up coins with prices that move, chart, buy / sell with the bank, send to a number |
| Music | Songs from YouTube or mp3 links, keeps playing when the app is closed, speaker mode (xsound) |
| Calendar | Month view, events, reminders on the phone |
| Jobs | Job center, duty on / off; bosses hire, promote, fire and move company money |
| Market | Ads with a price, call or message the seller |
| Notes | Notes that save on their own |
| Garage | Your vehicles with fuel, engine and body, track vehicles that are out |
| Services | Call police, EMS, mechanic or taxi with your location, see who is on duty |
| Maps | Places with a waypoint, share your location |
| Camera / Photos | Photos and videos, gallery with video player, send in messages, set as wallpaper |
| Clock | Stopwatch with laps and a timer that keeps running |
| Calculator | |
| Settings | Wallpapers, light / dark, brightness, phone finish, icon style, sounds, Do Not Disturb, Airplane mode, passcode |
| AW Store | Today, Apps by category and Search; app pages with GET / OPEN; apps from your own resources |
#Phone system
- AW OS design: flat frame, punch-hole display, round icons, Quick Panel and notification cards.
- Four frame finishes: Wine Red, Ice Blue, Pearl Silver and Obsidian.
- Round app icons in Colour, Dark, Glass and Accent styles (10 accent colours).
- Calls, timers and notifications drop in as a card under the status bar.
- Quick Panel, Notification Panel, Recent Apps and swipe-up gestures.
- Long press an app for quick actions, edit and reorder the home screen.
- Lock screen with Face Scan animation or a 4 digit passcode.
- Notifications and calls also show when the phone is closed.
- You can walk while the phone is open. It closes when you lose the item, die or get cuffed.
- Uses the QBCore phone number (
charinfo.phone), so other scripts show the same number. - Every action is checked on the server (owner, item, money, cooldowns, rate limit, text length). One request per player runs at a time, so limits can not be passed by sending many requests at once.
- Back like a real phone: back button on every page, swipe from the left edge, Esc, Backspace or right click.
#Phone in the hand
The phone in the player's hand is the AW phone model, in the same colour as the finish picked in Settings
(Wine, Ice, Silver, Obsidian). The models are in stream/ and load on their own (Config.CustomProp = true).
Set Config.CustomProp = false to use the GTA phone (Config.Prop) instead. Animations for walking and driving are included.
#Social: one profile for Pulse and Glimpse
Each character gets an @name (from their name) the first time they open Pulse or Glimpse; they can change it in Edit Profile.
Photos for posts, stories and profile pictures always come from the player's own gallery (no links from anywhere).
Give the verified badge in game with /phoneverify name (ace awphone.admin) or list names in Config.Social.Verified
(those names are reserved).