Return modules folder
-- Was a git prefrences thing and needed cleaned up
This commit is contained in:
1 parent
48f5c70039
commit
8f6fa1e291
95 files changed
+4254
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user