Solved Best way to kill a player?

Discussion in 'Rust Development' started by Rusty, Jul 30, 2015.

  1. Im working a /die command that does the same thing as console\kill

    Any ideas..? Whats the quickest way to kill a playerclient?
     
  2. Wulf

    Wulf Community Admin

    For Experimental?
    Code:
    player:Die()
     
  3. yea, LUA

    Code:
    function PLUGIN:cmddie( player,command, arg )
      player:Die()       
       
    end
    
    this do?
     
  4. Wulf

    Wulf Community Admin

    That should work fine.
     
  5. Excellent. Thanks.

    Respect.