Negriukas Posted September 7, 2014 Share Posted September 7, 2014 Hello there, Is it possible the get the death reason of a random wasted guy? Like rammed, exploded, and etc I saw death reasons, But currently i'm making some edits on Killmessages scripts, It doesn't detect when a wasted guy got rammed or killed by a jet (hydra) it just outputs the weapon icon that he selected from freeroam panel, Thanks Link to comment
koeno100 Posted September 7, 2014 Share Posted September 7, 2014 Use this event: onClientPlayerWasted The paramters you can get from it are: element killer, int weapon, int bodypart "weapon: An integer representing the killer weapon or the death reason. " Here's a list with all death reasons: https://wiki.multitheftauto.com/wiki/Death_Reasons 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