Is there a way to make the phone calling work with PMA?
with pma voice? yup. In fact, crit-phone uses pma by default, but you can also switch to mumble.
and Sxltychxt? ← I can’t write that word
I have no clue what that is, but as long as it’s not some shady resource that breaks default fivem functionality, it could probably work.
It should work. You just have to modify the connectors (if you use crit-phone, otherwise you have to code your own logic)
Hey @CritteR, did you have any idea is there any way to "play voice lines from npcs like talking from a phone call? For example when you call any service on gta online normally has this.
If you have the audio for whatever you and the output to be, you definitely can.
How I would do it is: (using crit-phone)
- Wait for bot to get called
- Instead of rejecting the call, connect it.
- On the bot event, trigger a client event to the specified client, that will simply play the voice line as a front-end sound (with this, maybe: PlaySoundFrontend - Natives @ Cfx.re Docs)
- That’s all! (I think)
Oh perfect thanks! Looks like the hardest part is to find the voice lines
Heyo
Update:
-
“scalePhone.overrideWallpaper” event added, to override all homepage wallpapers, or a specific theme’s wallpaper.
You can use both URL or TXD/TXN. Those will be saved client-side (which means the same wallpaper can be seen on all servers that use this framework).
Usage:TriggerEvent('scalePhone.OverrideWallpaper', _type, _theme, _imgsource1, _imgsource2)
Types:
“clear” = clears that theme’s wallpaper override.
“url” = Will expect a wallpaper override via URL
“texture” = will expect a wallpaper override via TXD / TXN combinationThemes:
“all” = will show on ALL themes.
0 = Blue
1 = Green
2 = Red
3 = Orange
4 = Gray
5 = Purple
6 = Pink_imgsource1 = Is the URL or the Texture Dictionary, depending on the type.
_imgsource2 = only used in “texture” type, as Texture NameExample:
TriggerEvent('scalePhone.OverrideWallpaper', "url", "all", "https://picsum.photos/250/250")
-
“scalePhone.RegisterTextToTexture” event added to let users add more text-to-texture images outside of the framework.
Usage:
TriggerEvent("scalePhone.RegisterTextToTexture", _tag, _txd, _txn)
_tag = the text that will be replaced with a texture
_txd = the Texture Directory
_txn = the Texture NameExample:
TriggerEvent("scalePhone.RegisterTextToTexture", "_WALLPAPER_", "Phone_Wallpaper_ifruitdefault", "Phone_Wallpaper_ifruitdefault")
The above example will add the default iFruit wallpaper texture in any SMS / Email screen where the text “_WALLPAPER_” is shown.
how do I create a contact?
hello bro how to install your phone fivem sever help full setup
scalePhone is a framework. It helps you create your own phone apps using the GTA 5 phone menus.
I made some apps for it here: GitHub - CritteRo/crit-phone: crit-phone is a colection of phone apps for the scalePhone [framework](www.github.com/CritteRo/scalePhone).
So, download both scalePhone and crit-phone, and add those lines in your config:
ensure scalePhone
ensure crit-phone
hlo bro help me no anything show in phone full black screen show in phone not apps shows not anything
make sure your resource folder names are scalePhone
and crit-phone
same hai bro
crit-phone start nhi ho raha hai bro
remove the -main
from both scalePhone and crit-phone resource names.
then howw to install