mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 17:28:53 +00:00
ESX.GetPedMugshot
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user