- Dokumentacja
- Funkcje serwera
- getPlayerClothesOffset
Funkcja
getPlayerClothesOffset
Zwraca przesunięcie i skalę części wyglądu (0, 0, 0, 1, gdy nie jest przesunięta).
Składnia
float, float, float, float getPlayerClothesOffset(ped thePed, int|string clothesType)Argumenty
thePedped- Postać.
clothesTypeint|string- Część ubioru 0-17 albo nazwa.
Zwraca
x, y, z i skala.
Przykład
local x, y, z, scale = getPlayerClothesOffset(player, "hat")