fix(server/functions): getplayer variable

This commit is contained in:
BerkieBb
2022-02-18 19:35:10 +01:00
committed by GitHub
parent ab131e2cc8
commit e9a6d4acd0
+1 -1
View File
@@ -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)]