mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
implemented twitter configuration parameters
This commit is contained in:
1 parent
345f591670
commit
7d287ccd08
18 files changed
+144
-37
No files matched your search
@@ -158,6 +158,18 @@ Citizen.CreateThread(function()
|
||||
end
|
||||
end)
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
ESX.TriggerServerCallback('phone:phoneConfig', function(config)
|
||||
SendNUIMessage(
|
||||
{
|
||||
app = "PHONE",
|
||||
method = "phoneConfig",
|
||||
data = config
|
||||
}
|
||||
)
|
||||
end, searchValue)
|
||||
end)
|
||||
|
||||
function Phone() --Open/close phone
|
||||
if Config.PhoneAsItem == true then
|
||||
--print("ConfigOn")
|
||||
@@ -234,7 +246,6 @@ RegisterCommand('phone', function(source) -- Toggles Phone
|
||||
Phone()
|
||||
end, false)
|
||||
|
||||
|
||||
RegisterNetEvent('phone:send')
|
||||
AddEventHandler('phone:send', function()
|
||||
TriggerEvent('phone:sendContacts')
|
||||
|
||||
Reference in new issue
Block a user