Dzsozi (h03) Posted October 21, 2016 Share Posted October 21, 2016 Hello! I would like to make the katana give you damage, but disable the random instant kills, is this possible? If so, how can I do that? Link to comment
1LoL1 Posted October 21, 2016 Share Posted October 21, 2016 You mean stealth kill? if yes then use https://wiki.multitheftauto.com/wiki/OnPlayerStealthKill Link to comment
Dzsozi (h03) Posted October 21, 2016 Author Share Posted October 21, 2016 Not the knife killing from behind but the katana instant kill. If I keep hitting somebody with katana he/she gets lower hp, but then he gets killed suddenly, and it's random, sometimes gets instant killed for the first hit, but sometimes gets killed after 10 hits, but his HP is not low enough to get killed, for example after 10 hits he's got 50hp, but at the 11th hit he gets killed instantly. Hope you know what I mean. Link to comment
Simple0x47 Posted October 21, 2016 Share Posted October 21, 2016 That's due to the combo, just save the victim life and make a comparation to see how much did the katana low. If it lows more than x value then cancelEvent and setElementHealth for making a normal damage. Link to comment
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