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: zapętlenie
1. Zapętlenie animacji
Witam,
jak przerobi? ten kod aby animacja znika?a dopiero po naci?ni?ciu entera:

addEvent
("sit", true)
addEventHandler("sit", resourceRoot,
function(
plr,cmd)
    if (
not getElementData(client, "sit")) and (not isPedInVehicle(client)) then
        setPedAnimation
(client, "ped", "seat_down", -1, false, false, false, false)
        
setElementData(client, "sitting", true)
        
bindKey(client, "ENTER", "down", stopAnimacja)
    
end
end
)

Z g?ry dzi?ki