mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
Feat(client): Adding contacts | simple stuff
This commit is contained in:
1 parent
39e6c5be2c
commit
2335d2e6df
2 files changed
+15
-10
No files matched your search
@@ -18,4 +18,11 @@ AddEventHandler('phone:sendContacts', function()
|
||||
}
|
||||
)
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
||||
RegisterNUICallback('contacts:add', function(data)
|
||||
local display = data.name
|
||||
local number = data.number
|
||||
TriggerServerEvent('phone:addContacts', display, number)
|
||||
TriggerEvent('phone:sendContacts')
|
||||
end)
|
||||
Reference in new issue
Block a user