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

Funkcja

setPedClothes

SerwerUbraniaTylko Trilogy Hub

Inna nazwa setPlayerClothes: zakłada część ubioru, z tymi samymi argumentami.

Składnia

bool setPedClothes(ped thePed, string clothesTexture, string clothesModel, int|string clothesType [, string color])

Argumenty

thePedped
Postać.
clothesTexturestring
Nazwa tekstury.
clothesModelstring
Nazwa modelu.
clothesTypeint|string
Część ubioru 0-17 albo nazwa.
colorstring, opcjonalny
Kolor "RRGGBB" albo lista stref.

Zwraca

true przy powodzeniu.

Przykład

setPedClothes(player, "vestblack", "vest", 0)

Zobacz też