casing, RegisterModule adjustments, remove duplicate utilities table

This commit is contained in:
MrNewb committed 2025-01-10 16:36:20 -05:00
1 parent 515d4412b1
commit 733271562d
75 files changed
+1739 -14

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
if GetResourceState('gksphone') ~= 'started' then return end
Phone = {}
Phone.GetPlayerPhone = function(src)
return exports["gksphone"]:GetPhoneBySource(src) or false
end
Phone.SendEmail = function(src, email, title, message)
local data = {}
data.sender = email
data.image = '/html/static/img/icons/mail.png'
data.subject = title
data.message = message
exports["gksphone"]:SendNewMail(src, data)
return true
end