Raised This Month: $ Target: $400
 0% 

Simple Suicide Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author
badmanrider
New Member
Join Date: Sep 2008
Plugin ID:
788
Plugin Version:
1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A simple plugin to allow the user to type !killme or /killme in chat to kill themselves
    Unapprover:
    Reason for Unapproving:
    This is the same thing as the valve command 'kill'.
    Old 02-28-2009 , 06:57   Simple Suicide Plugin
    Reply With Quote #1

    Go easy on me because it is my first plugin, i thought i would start simple with a suicide script

    This is a simple plugin to allow anyone to type /killme or !killme in chat and kill themselves.

    I wont be making any updates to the script because i don't feel it needs any.

    Script made by -TFB- BlackWidow
    Help by -TFB- Monster Killer
    Attached Files
    File Type: sp Get Plugin or Get Source (suicide.sp - 736 views - 383 Bytes)

    Last edited by badmanrider; 03-01-2009 at 06:09. Reason: Fixed
    badmanrider is offline
    FeuerSturm
    AlliedModders Donor
    Join Date: Apr 2004
    Old 02-28-2009 , 07:07   Re: Simple Suicide Plugin
    Reply With Quote #2

    Don't post the binary, just upload the source file as it has to be available.

    The forums will automatically allow to download a compiled version.
    FeuerSturm is offline
    badmanrider
    New Member
    Join Date: Sep 2008
    Old 02-28-2009 , 07:11   Re: Simple Suicide Plugin
    Reply With Quote #3

    Ok done now (i think)
    badmanrider is offline
    robertwarner
    Junior Member
    Join Date: Jan 2009
    Old 02-28-2009 , 10:04   Re: Simple Suicide Plugin
    Reply With Quote #4

    Ok, This will not work as the command you use is kill and this is trying to overright the kill command already on the server. You need to change it to something like !killme to work.
    __________________

    Steam account robertwarner96 or MSN [email protected]

    Monster Projects. Vist now!

    robertwarner is offline
    Lebson506th
    Veteran Member
    Join Date: Jul 2008
    Old 02-28-2009 , 10:08   Re: Simple Suicide Plugin
    Reply With Quote #5

    Or if you change the command to sm_kill you can still do !kill in chat
    __________________
    My Plugins
    Spray Tracer by Nican, maintained by me
    Simple TK Manager
    DoD:S Admin Weapons

    Links
    Resistance and Liberation (A HL2 Multiplayer Modification)
    Lebson506th is offline
    Chris-_-
    SourceMod Donor
    Join Date: Oct 2008
    Old 02-28-2009 , 17:56   Re: Simple Suicide Plugin
    Reply With Quote #6

    Nice and easy
    Chris-_- is offline
    badmanrider
    New Member
    Join Date: Sep 2008
    Old 03-01-2009 , 06:06   Re: Simple Suicide Plugin
    Reply With Quote #7

    Ok fixed now, you now must type !killme or /killme to kill yourself
    Lol thanks AGAIN Monster Killer

    Enjoy
    badmanrider is offline
    robertwarner
    Junior Member
    Join Date: Jan 2009
    Old 03-01-2009 , 13:50   Re: Simple Suicide Plugin
    Reply With Quote #8

    Quote:
    Originally Posted by badmanrider View Post
    Ok fixed now, you now must type !killme or /killme to kill yourself
    Lol thanks AGAIN Monster Killer

    Enjoy
    No Problem. Your still learning.
    __________________

    Steam account robertwarner96 or MSN [email protected]

    Monster Projects. Vist now!

    robertwarner is offline
    DJ Tsunami
    DJ Post Spammer
    Join Date: Feb 2008
    Location: The Netherlands
    Old 03-01-2009 , 18:15   Re: Simple Suicide Plugin
    Reply With Quote #9

    Have you actually tested it? As Lebson said, the command has to start with sm_ for / and ! to work in chat. Simply make it sm_kill and /kill and !kill will work in chat.
    __________________
    Advertisements | REST in Pawn - HTTP client for JSON REST APIs
    Please do not PM me with questions. Post in the plugin thread.
    DJ Tsunami 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 12:46.


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