function postrzal ( attacker, bodypart, thePlayer )
if ( bodypart == 3 ) then
local hp = getElementHealth(localPlayer)
if hp <= 6 then
toggleAllControls ( thePlayer, false )
setTimer ( toggleAllControls, freezeTime, 70, thePlayer, true )
setPedAnimation ( thePlayer, "CRACK", "crckidle1")
end
end
end
addEventHandler("onClientPlayerDamage", postrzal, attacker)