Order geniusza i uwa?nego czytania dla ka?dego kto tu pomaga?...
Powinno takie co? dzia?a?, je?eli nie wpisz "/debugscript 3" i zrestartuj skrypt - no i oczywi?cie podaj b??dy jakie si? pojawi?...
function postrzal ( attacker, weapon, bodypart, loss )
if source ~= localPlayer then return end
hp = getElementHealth(localPlayer)
if (hp - loss) < 6 then
toggleAllControls(false)
setTimer(toggleAllControls, 3000, 1, true)
setPedAnimation ( localPlayer, "CRACK", "crckidle1")
setTimer(setPedAnimation, 3000, 1, localPlayer, nil, nil)
end
end
addEventHandler("onClientPlayerDamage", getRootElement(), postrzal )
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach