📱
APhone
  • What is APhone ?
  • Installation
    • Workshop
    • Configuration ( Lua part )
    • Configuration ( In-game )
  • How you make your own apps
    • Create your first app
    • App functions
    • App Metas
    • Tips you NEED to know
  • API ( Clientside )
    • Parameters ( Clientside )
    • UI - General Functions
    • UI - Required Functions
    • UI - Colors
    • UI - Fonts
    • UI - Web/Imgur Pictures
    • UI - Renderview
    • UI - Stencils
    • UI - Panels
    • Notifications
    • Rotate functions
  • API ( Shared )
    • Numbers
  • API - App Specific
    • Contacts ( Clientside )
    • Messages ( Clientside )
    • Bank ( Shared )
Powered by GitBook
On this page
  • GPS
  • Painting
  • Format
  • MySQL ( in sv_config.lua)
  • Webhook
  • OthersHearRadio
  • Language
  • Links
  • backgrounds_imgur
  • RadioList
  • SpecialCalls
  • SpecialCallsCooldown
  • Ringtones
  • bank_onlytransfer

Was this helpful?

  1. Installation

Configuration ( Lua part )

Here, all the options

GPS

These are all the positions shown in the GPS App.

To add positions, just copy an info-block, add + 1 to the number between [] and put your information.

Icon list :

Icons Char

Purposes

N

Health

O

GPS Marker

P

Police cap

Q

Papers

R

Drugs

Painting

All the materials the player can put on his phone painting. I don't recommand to change it if you don't know a lot about Materials

Format

Format of the phone number You need to have atleast 3 times %s in your config, else you will get issues %s represent a random number from 0 to 9

MySQL ( in sv_config.lua)

If it's something else than false, APhone will save his infos with MySQL. You don't need to change it if you don't know about MySQL. For setup, remove "aphone.MySQL = false", uncomment aphone.MySQL bloc and complete it

Webhook

OthersHearRadio

Can people around a player can hear his radio ?

Language

Self explaining, check the folder aphone/languages to see availables languages

Links

You can create your own applications, this is limited of course. We can call them clickable elements that open a link. Usable for your shop, rules, forum, discord, etc...

Check the default config to get examples.

backgrounds_imgur

The imgur ids of the pictures the player can put on his phone background If you put your own pictures, consider downscaling them around 500x1067. Else you can't upload on imgur, and if you can, your players would take more time to download pictures.

RadioList

The radio list player can use. I don't recommend changing it if you are not comfortable with radio stream urls

SpecialCalls

All the special numbers for calling a group of people

Flags

Purpose

name

Name of the group

icon

Directory of the material, don't modify it if you don't know what is it

teams

Called teams, the value at the left is the Team ID ( Check your DarkRP Config )

At the right, it needs to be = true. Check the example in the default config

desc

Description of the team

SpecialCallsCooldown

How much time he will wait before doing a "group call" again

Ringtones

Name = Name of the ringtone

Url = Url of the sound for the ringtone, mp3

bank_onlytransfer

Can he only make transfers with the Bank App?

PreviousWorkshopNextConfiguration ( In-game )

Last updated 2 years ago

Was this helpful?

Used for Friends App so you will see your messages into your discord server Get your link with this guide :

You can use these flags :

https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks
https://akulla-pro.gitbook.io/aphone/how-you-make-your-own-apps/app-metas