From c3ad04d0c9d3104ce1ebb7d774fa695dc6a20b31 Mon Sep 17 00:00:00 2001 From: Cocodrulo <142546774+Cocodrulo@users.noreply.github.com> Date: Wed, 8 Jan 2025 13:31:03 +0100 Subject: [PATCH] fix: Refactor GetName function to use QBCore namespace --- client/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/functions.lua b/client/functions.lua index e99ece5..5ea6151 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -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