diff --git a/server/functions.lua b/server/functions.lua index e1498c1..4678928 100644 --- a/server/functions.lua +++ b/server/functions.lua @@ -35,7 +35,7 @@ function QBCore.Functions.GetSource(identifier) end function QBCore.Functions.GetPlayer(source) - if type(src) == 'number' then + if type(source) == 'number' then return QBCore.Players[source] else return QBCore.Players[QBCore.Functions.GetSource(source)]