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: postrzał
1. Postrzał
Ot?? posiadam taki kod on oczywi?cie nie dzia?a ale ja nie wiem gdzie jest b??d
function postrzal attackerbodypartthePlayer )
    if ( 
bodypart == then
    local hp 
getElementHealth(localPlayer)
    if 
hp <= 6 then
        toggleAllControls 
thePlayerfalse )
        
setTimer toggleAllControlsfreezeTime70thePlayertrue 
        
setPedAnimation thePlayer"CRACK""crckidle1")
    
end
end
end
addEventHandler
("onClientPlayerDamage"postrzalattacker)


Ot?? to ma dzia?a? na zasadzie, ?e je?li kto? ma 6 HP albo mniej to aby mu blokowa?o kontrol? oraz dawa?o animk?