Skip to content

GetPedFaceFeature ​

клиент GET_PED_FACE_FEATURE

c
float GET_PED_FACE_FEATURE(Ped ped, int index);

A getter for _SET_PED_FACE_FEATURE. Returns 0.0 if fails to get.

Примеры ​

lua
local noseWidth = GetPedFaceFeature(PlayerPedId(), 0)
if noseWidth == 1.0 then
  print("You have big nose!")
end

Параметры ​

  • ped: The target ped
  • index: Face feature index

Возвращает ​

Returns ped's face feature value, or 0.0 if fails to get.


Страница собрана автоматически из native-decls/GetPedFaceFeature.md. Нашли ошибку — поправьте исходный файл.

Независимый проект на базе Cfx.re. Не связан с Rockstar Games и Take-Two Interactive.