Raised This Month: $51 Target: $400
 12% 

RTD [Roll To Die]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
xDeRpYx
Member
Join Date: May 2012
Location: New York
Plugin ID:
3911
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 09-19-2013 , 19:56   RTD [Roll To Die]
    Reply With Quote #1

    Roll To Die!
    Version 1.0.1

    Description
    Kills players who type rtd, followed by a humorous message
    "LOL YOU TRIED TO USE RTD, YOU FAIL" spammed 4 times in chat

    Installation
    Place rolltodie.smx in tf\addons\sourcemod\plugins
    (Optional) Place rolltodie.sp in tf\addons\sourcemod\scripting

    Updated with what r3dw3r3w0lf suggested in the code. Thanks :p
    Attached Files
    File Type: sp Get Plugin or Get Source (RollToDie.sp - 1032 views - 1,005 Bytes)

    Last edited by xDeRpYx; 09-20-2013 at 00:42.
    xDeRpYx is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Somewhere headbangin'
    Old 09-19-2013 , 20:47   Re: RTD [Roll To Die]
    Reply With Quote #2

    Code:
    #include <sourcemod>
    #include <sdktools>
    
    public Plugin:myinfo = 
    {
        name = "RTD Roll To Die",
        author = "xDeRpYx",
        description = "Kills players who type rtd, followed by a humorous message",
        version = "1.0",
        url = "http://www.derpygamers.com"
    }
    public OnPluginStart()
    {
        RegConsoleCmd("rtd", Command_YOUMUSTDIE); 
    }
    
    public Action:Command_YOUMUSTDIE(client, args)
    {   
        if(!client)
        {
            ReplyToCommand(client, "\x04Y U USE DIS IN CONSOLE!?");
            return Plugin_Handled;
        }
        if(!IsPlayerAlive(client))
        {
            ReplyToCommand(client, "\x04Lol you're dead silly.");
            return Plugin_Handled;
        }
        
        ForcePlayerSuicide(client);
        PrintToChat(client, "\x04LOL YOU TRIED TO USE RTD, YOU FAIL!");
        PrintToChat(client, "\x04LOL YOU TRIED TO USE RTD, YOU FAIL!");
        PrintToChat(client, "\x04LOL YOU TRIED TO USE RTD, YOU FAIL!");
        PrintToChat(client, "\x04LOL YOU TRIED TO USE RTD, YOU FAIL!");
        return Plugin_Handled;        
    }
    Drixevel is offline
    xDeRpYx
    Member
    Join Date: May 2012
    Location: New York
    Old 09-20-2013 , 00:42   Re: RTD [Roll To Die]
    Reply With Quote #3

    Quote:
    Originally Posted by r3dw3r3w0lf View Post
    Code:
    #include <sourcemod>
    #include <sdktools>
    
    public Plugin:myinfo = 
    {
        name = "RTD Roll To Die",
        author = "xDeRpYx",
        description = "Kills players who type rtd, followed by a humorous message",
        version = "1.0",
        url = "http://www.derpygamers.com"
    }
    public OnPluginStart()
    {
        RegConsoleCmd("rtd", Command_YOUMUSTDIE); 
    }
    
    public Action:Command_YOUMUSTDIE(client, args)
    {   
        if(!client)
        {
            ReplyToCommand(client, "\x04Y U USE DIS IN CONSOLE!?");
            return Plugin_Handled;
        }
        if(!IsPlayerAlive(client))
        {
            ReplyToCommand(client, "\x04Lol you're dead silly.");
            return Plugin_Handled;
        }
        
        ForcePlayerSuicide(client);
        PrintToChat(client, "\x04LOL YOU TRIED TO USE RTD, YOU FAIL!");
        PrintToChat(client, "\x04LOL YOU TRIED TO USE RTD, YOU FAIL!");
        PrintToChat(client, "\x04LOL YOU TRIED TO USE RTD, YOU FAIL!");
        PrintToChat(client, "\x04LOL YOU TRIED TO USE RTD, YOU FAIL!");
        return Plugin_Handled;        
    }
    Updated.
    xDeRpYx is offline
    Roundcat
    Senior Member
    Join Date: Feb 2012
    Old 09-27-2013 , 11:45   Re: RTD [Roll To Die]
    Reply With Quote #4

    I'll definitely be installing this the day I want my server completely emptied forever.
    __________________
    I know not my ar*e from its elbow.
    Roundcat is offline
    xDeRpYx
    Member
    Join Date: May 2012
    Location: New York
    Old 09-28-2013 , 15:13   Re: RTD [Roll To Die]
    Reply With Quote #5

    Quote:
    Originally Posted by Roundcat View Post
    I'll definitely be installing this the day I want my server completely emptied forever.
    Your community must not be very loyal then..This plugin was intended for those servers that don't use RTD and don't like the concept, etc. Like me, so my community asked me to make this, just to make fun of those people who :True Story: Join my server type !rtd then leave. So now with this plugin they type rtd, and humorous messages pop up, and after that..Their choice to stay or leave, doesn't bug me one bit since my server is rarely ever empty. But you know, that is just my opinion.
    xDeRpYx is offline
    ddhoward
    Veteran Member
    Join Date: May 2012
    Location: California
    Old 09-28-2013 , 15:15   Re: RTD [Roll To Die]
    Reply With Quote #6

    I also experience this. Users join the server, type !rtd, and then immediately disconnect when they realize that the server doesn't have RTD. :\
    __________________
    ddhoward is offline
    xDeRpYx
    Member
    Join Date: May 2012
    Location: New York
    Old 09-28-2013 , 15:19   Re: RTD [Roll To Die]
    Reply With Quote #7

    Quote:
    Originally Posted by ddhoward View Post
    I also experience this. Users join the server, type !rtd, and then immediately disconnect when they realize that the server doesn't have RTD. :\
    That is because players who..forgive me for being blunt here..Players that suck and can't play the game use rtd as a crutch to get kills or gain some type of advantage, to claim they are better. Again, my opinion, could be a fact in most cases though.
    xDeRpYx is offline
    Voqnum
    Junior Member
    Join Date: May 2015
    Old 01-10-2016 , 17:11   Re: RTD [Roll To Die]
    Reply With Quote #8

    Wanting to report that this plugin was giving a CSGO server of mine some problems. I noticed this plugin is listed for ANY mod, but I think it needs a revision to be successful on CSGO.

    CSGO server was crashing, and noticing in the code that the plugin is trying to authorize a drop of a weapon_p228 which does not exist in CSGO.

    Request for a working RTD version for CSGO


    Posted in wrong thread, disregard
    __________________
    Contact Voqnum via E-mail

    Contact Voqnum via Steam


    CS:GO Hunger Games Server [US-Central]

    Last edited by Voqnum; 01-11-2016 at 22:36. Reason: Posted comment in wrong thread.
    Voqnum is offline
    lay295
    Senior Member
    Join Date: Sep 2013
    Old 01-10-2016 , 18:26   Re: RTD [Roll To Die]
    Reply With Quote #9

    Quote:
    Originally Posted by Voqnum View Post
    Wanting to report that this plugin was giving a CSGO server of mine some problems. I noticed this plugin is listed for ANY mod, but I think it needs a revision to be successful on CSGO.

    CSGO server was crashing, and noticing in the code that the plugin is trying to authorize a drop of a weapon_p228 which does not exist in CSGO.

    Request for a working RTD version for CSGO
    Huh? I think you replied to the wrong rtd thread. This plugin just slays a player and prints a few messages.
    __________________

    lay295 is offline
    Voqnum
    Junior Member
    Join Date: May 2015
    Old 01-11-2016 , 22:36   Re: RTD [Roll To Die]
    Reply With Quote #10

    Quote:
    Originally Posted by lay295 View Post
    Huh? I think you replied to the wrong rtd thread. This plugin just slays a player and prints a few messages.
    I believe you are correct. I apologize Disregard my previous statement.
    __________________
    Contact Voqnum via E-mail

    Contact Voqnum via Steam


    CS:GO Hunger Games Server [US-Central]
    Voqnum 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:18.


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