SerweryWłasny serwerDla twórcówForumFAQDokumentacjaBezpieczeństwo
Pobierz launcher
  1. Dokumentacja
  2. Funkcje serwera
  3. getPlayerClothesOffset

Funkcja

getPlayerClothesOffset

SerwerUbraniaTylko Trilogy Hub

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")

Zobacz też