Kenix Posted March 30, 2011 Posted March 30, 2011 how to remove the rear it was impossible to kill with a knife. help guys. may be because I'm not sure. function stopingKnifeHeadKill ( attacker, weapon, bodypart ) if ( weapon == 4 ) then if ( bodypart == 9 ) then cancelEvent() end end end addEventHandler ( "onClientPlayerDamage", getLocalPlayer(), stopingKnifeHeadKill ) http://vk.com/the_kenix Вопросы задавайте на форуме, не пишите мне в личку. Please don't pm me.
Castillo Posted March 30, 2011 Posted March 30, 2011 Do you mean when the player is trying to stealth kill? addEventHandler("onPlayerStealthKill",getRootElement(), function (targetPlayer) cancelEvent() end) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Kenix Posted March 30, 2011 Author Posted March 30, 2011 thank you so much I just did not know that there is an event for this thanks a lot http://vk.com/the_kenix Вопросы задавайте на форуме, не пишите мне в личку. Please don't pm me.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now