Jump to content

Killscript for Destruction Derby


Nameless

Recommended Posts

Posted

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!

  • Moderators
Posted

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)

Posted

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)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...