Introduction
OwO everybody! This is a simple addon for gcphone that connects emergency calls to vRP.
If you install this on your server, you’ll be able to recive emergency calls on your message app.
Requirements
- vRP (dunko)
- gcphone (for vRP)
- Nothing else…
Installation
You should have gcphone and vRP correctly setup. Then you should add these codes to your gcphone config located inside the @gcphone/html\static\config\config.json
"serviceCall": [
{
"display": "Polizia",
"icon": "a cool icon!",
"subMenu": [
{
"title": "Manda un messaggio",
"eventName": "vrp_addons_gcphone:call",
"type": {
"number": "Polizia",
"permission": "cop.whitelisted"
}
}
]
}
]
Where display is the name shown on the list, icon is the icon shown on the list, title is what poups up when clicked, number is the actual number registered on the database (this can be everyting you want, but i suggest leaving this like this and permission is the permission assigned to the group (read below).
and put the permission inside the group you want to send the emergency call, like this:
["Captain"] = {
--some perms
"cop.whitelisted",
--more perms
},
Then, at the end, go to @vrp/cfg/phone.lua
and add the service with the name displayed in title and number like this one
["Polizia"] = {
--whatever is inside here is usless for this addon...
},
Hope you like this . If you have any troubles feel free to write down below ;D
Oh… the download… right… here you have it ;D
Cool link O.O