Nameless Posted August 15, 2012 Share Posted August 15, 2012 Does somebody know if there is a killscript for Destruction Derby which I can download? I couldn't find it here: '>https://community.multitheftauto.com/index.php?p=resources Else if there are no downloads for a DD killscript could somebody tell me what's the best way of checking if a player has been killed by another player? And maybe give an example code? Thanks! Link to comment
Moderators IIYAMA Posted August 15, 2012 Moderators Share Posted August 15, 2012 try this... function Killme ( player, commandName ) if ( player ) then killPlayer ( player ) end end addCommandHandler ( "kill", Killme ) I don't know if it works for race. (serverside) Link to comment
Nameless Posted August 16, 2012 Author Share Posted August 16, 2012 This doesnt check if someone pushed another player in the water right? Because that is what I need, I need to see who killed the other player --> pushed him in the water (who last touched him) Link to comment
Guest Guest4401 Posted August 16, 2012 Share Posted August 16, 2012 Make use of: onClientVehicleCollision 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