mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:08:57 +00:00
fix: Refactor GetName function to use QBCore namespace
This commit is contained in:
@@ -38,7 +38,7 @@ end
|
||||
|
||||
---Returns the full character name
|
||||
---@return string
|
||||
function exports.Functions.GetName()
|
||||
function QBCore.Functions.GetName()
|
||||
local charinfo = QBCore.PlayerData.charinfo
|
||||
return charinfo.firstname .. ' ' .. charinfo.lastname
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user