ESX.GetPedMugshot

This commit is contained in:
renaiku
2017-11-30 03:05:41 +01:00
parent cb84be5e4c
commit b47236951e
+8
View File
@@ -291,6 +291,14 @@ ESX.GetWeaponLabel = function(name)
end
ESX.Game.GetPedMugshot = function(ped)
mugshot = RegisterPedheadshot(ped)
while not IsPedheadshotReady(mugshot) do
Wait(0)
end
return mugshot, GetPedheadshotTxdString(mugshot)
end
ESX.Game.Teleport = function(entity, coords, cb)
RequestCollisionAtCoord(coords.x, coords.y, coords.z)