Raised This Month: $32 Target: $400
 8% 

[L4D] Use !kill command in chat 1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Author
flamflam
New Member
Join Date: Jan 2014
Location: Germany
Plugin ID:
4119
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Use !kill command in chat to kill yourself
    Old 03-04-2014 , 16:14   [L4D] Use !kill command in chat 1.0
    Reply With Quote #1

    Hi, this plugin is extracted from a plugin of Danny_L4D (here). So its not my work, i just extracted the kill command. His Version is now Updated and provides better features. It has also the option to disable parts.

    What is the Plugin about?

    A very simple plugin to allow you to kill yourself

    How does it work?

    Just type !kill in chat to kill yourself


    It also prints a message to all players, explaining the command

    Version history:

    1.0 - Initial release
    1.1 - Added two other versions for Infected or Survivor Only, try to merge it to one plugin
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_kill.sp - 2500 views - 870 Bytes)
    File Type: sp Get Plugin or Get Source (l4d_kill_infected.sp - 1239 views - 996 Bytes)
    File Type: sp Get Plugin or Get Source (l4d_kill_survivor.sp - 1481 views - 999 Bytes)

    Last edited by flamflam; 11-06-2014 at 17:33. Reason: editing the text
    flamflam is offline
    Godis
    Senior Member
    Join Date: Jan 2014
    Old 04-08-2014 , 13:28   Re: [L4D] Use !kill command in chat 1.0
    Reply With Quote #2

    Why not just use the built in kill command in the console?
    Godis is offline
    flamflam
    New Member
    Join Date: Jan 2014
    Location: Germany
    Old 04-11-2014 , 05:04   Re: [L4D] Use !kill command in chat 1.0
    Reply With Quote #3

    Im just a newbie at Sourcemod and saw the Plugin from Danny, but only needed the kill part. Didnt know there was another way, to enable it to clients.
    And if you meant open the console and type a kill there, I think its faster to type !kill in chat. Also many people havent bound the console.

    Last edited by flamflam; 04-11-2014 at 05:07.
    flamflam is offline
    chatyak
    Senior Member
    Join Date: Aug 2011
    Old 10-01-2014 , 18:16   Re: [L4D] Use !kill command in chat 1.0
    Reply With Quote #4

    Can you add an option for infected only? Or human only?
    chatyak is offline
    flamflam
    New Member
    Join Date: Jan 2014
    Location: Germany
    Old 10-15-2014 , 16:03   Re: [L4D] Use !kill command in chat 1.0
    Reply With Quote #5

    Did it, I try to make it to one Plugin

    Last edited by flamflam; 11-06-2014 at 17:31.
    flamflam is offline
    chatyak
    Senior Member
    Join Date: Aug 2011
    Old 12-09-2014 , 12:56   Re: [L4D] Use !kill command in chat 1.0
    Reply With Quote #6

    Hey - thanks for this & sorry for the late reply. I will try this out now for sure.
    chatyak is offline
    chatyak
    Senior Member
    Join Date: Aug 2011
    Old 12-09-2014 , 13:08   Re: [L4D] Use !kill command in chat 1.0
    Reply With Quote #7

    Is there a way to disable the message it displays?

    Edit - I edited the .sp

    Last edited by chatyak; 12-09-2014 at 13:10.
    chatyak is offline
    Arthedains
    Junior Member
    Join Date: Nov 2016
    Location: Europe
    Old 02-13-2018 , 19:40   Re: [L4D] Use !kill command in chat 1.0
    Reply With Quote #8

    I confirm that this plugin works perfectly fine on L4D2, too. I also report that the message is not really necessary, but luckily it's easy to edit it out.

    Good job.
    Arthedains is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 02-15-2018 , 10:12   Re: [L4D] Use !kill command in chat 1.0
    Reply With Quote #9

    !explode ( sm_explode ) is an admin command, remove it from syntax so that admins who try to !explode a player won't kill themselves.
    __________________
    I am available to make plugins for pay.

    Discord: Eyal282#1334
    eyal282 is offline
    CosmicD
    Senior Member
    Join Date: Dec 2009
    Location: Hasselt, Belgium
    Old 03-28-2022 , 10:56   Re: [L4D] Use !kill command in chat 1.0
    Reply With Quote #10

    I wonder if it can be expanded a bit to:

    Enable to set your own message, (because I see lots of people just typing !kill right away after they see it. The message should be less direct and suggestive.
    __________________
    CosmicD is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 18:39.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode