casing, RegisterModule adjustments, remove duplicate utilities table
This commit is contained in:
1 parent
515d4412b1
commit
733271562d
75 files changed
+1739
-14
No files matched your search
@@ -0,0 +1,11 @@
|
||||
if GetResourceState('qs-smartphone') ~= 'started' then return end
|
||||
Phone = {}
|
||||
|
||||
Phone.SendEmail = function(email, title, message)
|
||||
return TriggerServerEvent('qs-smartphone:server:sendNewMail', { sender = email, subject = title, message = message, button = {} })
|
||||
end
|
||||
|
||||
RegisterNetEvent('community_bridge:Server:genericEmail', function(data)
|
||||
TriggerServerEvent('qs-smartphone:server:sendNewMail', { sender = data.email, subject = data.title, message = data.message, button = {} })
|
||||
return true
|
||||
end)
|
||||
Reference in new issue
Block a user