GetPlayer
FD.GetPlayer(source)
local Player = false
while Framework == nil do
Citizen.Wait(0)
end
if Config.Framework == 'esx' or Config.Framework == 'oldesx' then
Player = Framework.GetPlayerFromId(source)
else
Player = Framework.Functions.GetPlayer(source)
end
return Player
end
Last updated