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: tak.
1. Co tutaj jest nie tak.
Wywala b??d z linijk? getElementHealth z pierwszym argumentem oraz 'if hp <= 75 then'

kod po stronie srv


function bw(localPlayer)
    
local hp getElementHealth(localPlayer)
    if 
hp <= 75 then
        outputChatBox
("Posiadasz bw"localPlayer)
        
setPedAnimation(localPlayer"CRACK""crckdeth2")
    
end
end
addEventHandler
("onPlayerDamage"getRootElement(), bw)
2. [INNE] Animacja cos nie tak.
Witam. Otoz mam animacje na fikolka i niewiem zabardzo jak ja ustawic zeby dziala szybko a nie takim tepem normalnym. Oto animacja:

Kod:

ApplyAnimation(playerid, "BIKES", "BIKEs_getoffBACK",4.0,0,1,1,0,0);