💿Configure
Camera
Our camera can take pictures and record videos. You need to store this media somewhere, so we provide several options.
Navigate to
/cofig/config.upload.lua
and set theConfig.Upload.Method
to your preferred option. Follow the instructions in the config file to finish the setup.
Fivemanage - RECOMMENDED
Discord - NOT RECOMMENDED(the links will expire after a while)
Custom(You need to implement it yourself)
Apps
You can add/remove apps from the phone by modifying the config.json:apps
file.
Go to
config/config.json
and locate the app.Select it and REMOVE it.
Restart the phone, preferably the whole server.
If it doesn't work, you most likely commented on the app, so you must remove it. JSON files don't support comments.
Restrict Apps
Multi-language
Although we provide multi-language support, our language choices are still restricted.
Add new language:
Navigate to
/config/config.locales.lua
and add a new entry to theConfig.Locales
array with your language.Add your file in
/ui/build/locales
and name it the same as thevalue
field in theconfig.locales.lua
file.Restart the server to Apply the changes.
Preferably commit your translations to our repository - GitHub
Valet
You can enable and customize the Valet
functionality from config/config.garages.lua
.
Ringtones
To add personalized ringtones and notification sounds to your phone, simply follow these instructions:
Navigate to /config/config.json
and add a new entry to the ringtones
array.
The key
field is the name of the file without the extension.
The name
field is the name that will be displayed in the phone.
The extension
field is the file extension.
Add your sound file to /ui/build/(humanoid/yos)/sounds/ringtones
and name it the same as the key
field in the config.json
file.
Notifications
To add personalized ringtones and notification sounds to your phone, simply follow these instructions:
Navigate to /config/config.json
and add a new entry to the notifications
array.
The key
field is the name of the file without the extension.
The name
field is the name that will be displayed in the phone.
The extension
field is the file extension.
Add your sound file to /ui/build/(humanoid/yos)/sounds/notifications
and name it the same as the key
field in the config.json
file.
Wallpapers
To add personalized wallpapers to your phone, simply follow these instructions:
Navigate to /config/config.json
and add a new entry to the wallpapers
array.
The key
field is the name of the file without the extension.
The name
field is the name that will be displayed in the phone.
The extension
field is the file extension.
Add your wallpaper to /ui/build/backgrounds-front
and name it the same as the key
field in the config.json
file.
Currency
You can also change your city's currency and format in the config.misc.lua
file.
Cell broadcast
Cell broadcast is a technology that allows messages (such as public alerts) to be broadcast to all mobile users in the server
Custom sound
Usage
Via Export:
Via command in game:
Handle death/revive
You can restrict phone usage after death by modifying the \client\custom\functions\death.lua
file.
There you need to trigger OnRevive()
or OnDeath()
events based on your framework.
Note: If you're using ESX
you have to adjust the revive event based on your ambulance script, otherwise the phone will be locked after death.
Last updated