mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 08:13:23 +00:00
ADD - implement EasyShare system
This commit is contained in:
@@ -192,6 +192,11 @@ local server_callbacks = {
|
||||
"messages:media",
|
||||
"messages:delete",
|
||||
"messages:gifs",
|
||||
"easyshare:bootstrap",
|
||||
"easyshare:set-visibility",
|
||||
"easyshare:request",
|
||||
"easyshare:respond",
|
||||
"easyshare:cancel",
|
||||
"darkchat:bootstrap",
|
||||
"darkchat:update-profile",
|
||||
"darkchat:start",
|
||||
@@ -508,6 +513,14 @@ RegisterNetEvent("sky_phone:mail:changed", function(data)
|
||||
SendNUIMessage({ type = "mail:changed", data = data })
|
||||
end)
|
||||
|
||||
RegisterNetEvent("sky_phone:easyshare:changed", function(data)
|
||||
SendNUIMessage({ type = "easyshare:changed", data = data })
|
||||
end)
|
||||
|
||||
RegisterNetEvent("sky_phone:gallery:changed", function()
|
||||
SendNUIMessage({ type = "gallery:changed" })
|
||||
end)
|
||||
|
||||
RegisterNetEvent("sky_phone:mail:new", function(data)
|
||||
local mail_locale = get_locale().Nui.Apps.mail
|
||||
data.title = mail_locale.name
|
||||
|
||||
Reference in New Issue
Block a user