Skip to content

GetPedEyeColor ​

клиент GET_PED_EYE_COLOR

c
int GET_PED_EYE_COLOR(Ped ped);

A getter for _SET_PED_EYE_COLOR. Returns -1 if fails to get.

Примеры ​

lua
local pedEyeColour = GetPedEyeColor(PlayerPedId())
if pedEyeColour == 7 then
  print("Gray eyes!")
end

Параметры ​

  • ped: The target ped

Возвращает ​

Returns ped's eye colour, or -1 if fails to get.


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

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