Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: ubranie
1. Randomowe ubranie
Witam, zrobilem taki prosty skrypcik na randomowe ubranie dla CJ po zrespieniu, lecz niestety nwm jak konkretnie ustawic funkcje addPedClothes, czy zrobic to na math.random czy na siateczke w funkcji na math.random zasob nie daje ubrania.
function Player ( )
    
local joinedPlayerName getPlayerName source )
        
addPedClothes (sourcemath.random(0,44), 2)
end
addEventHandler 
"onPlayerJoin"getRootElement(), Player )