feat(Framework.GetPlayerDob)
available now on supported cores near you!
This commit is contained in:
1 parent
971da2ec51
commit
b03e83933f
6 files changed
+64
-15
No files matched your search
@@ -12,6 +12,11 @@ Framework.GetPlayerData = function()
|
||||
return QBox.GetPlayerData()
|
||||
end
|
||||
|
||||
Framework.GetPlayerDob = function()
|
||||
local playerData = QBox.GetPlayerData()
|
||||
return playerData.charinfo.birthdate
|
||||
end
|
||||
|
||||
Framework.GetPlayerMetaData = function(metadata)
|
||||
local playerData = QBox.GetPlayerData()
|
||||
return playerData.metadata[metadata]
|
||||
|
||||
@@ -8,6 +8,11 @@ Framework.GetFrameworkName = function()
|
||||
return 'qbx_core'
|
||||
end
|
||||
|
||||
Framework.GetPlayerDob = function(src)
|
||||
local playerData = QBox:GetPlayer(src).PlayerData
|
||||
return playerData.charinfo.birthdate
|
||||
end
|
||||
|
||||
-- Framework.GetPlayerIdentifier(src)
|
||||
-- Returns the citizen ID of the player.
|
||||
Framework.GetPlayerIdentifier = function(src)
|
||||
|
||||
Reference in new issue
Block a user