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

Slay Bots Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ozrich
AlliedModders Donor
Join Date: Oct 2015
Plugin ID:
6470
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Plugin to kill all bots In Game
    Old 03-14-2019 , 21:06   Slay Bots Plugin
    Reply With Quote #1

    Hi Community,

    This is my first very basic plugin. I needed something to kill all bots that served my purposes.

    Just type "sm_slaybots" into console. Working on adding condition for admins.

    It was developed with Insurgency 2014 in mind, but may work for other SM games.

    I'd love to hear any feedback, or ideas!

    Cheers,
    ozzy
    Attached Files
    File Type: smx slaybots.smx (12.4 KB, 210 views)
    File Type: sp Get Plugin or Get Source (slaybots.sp - 254 views - 1.4 KB)
    __________________

    Last edited by ozrich; 03-14-2019 at 21:11.
    ozrich is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 03-14-2019 , 21:44   Re: Slay Bots Plugin
    Reply With Quote #2

    Cmd slay does this.

    sm_slay @bots
    !slay @bots
    does the same thing.


    PS. you don't need this
    #pragma dynamic 32768 // Increase heap size
    You are just wasting resources you will know if you need this.
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D

    Last edited by Lux; 03-14-2019 at 21:46.
    Lux is offline
    ozrich
    AlliedModders Donor
    Join Date: Oct 2015
    Old 03-14-2019 , 22:58   Re: Slay Bots Plugin
    Reply With Quote #3

    Quote:
    Originally Posted by Lux View Post
    Cmd slay does this.

    sm_slay @bots
    !slay @bots
    does the same thing.


    PS. you don't need this
    #pragma dynamic 32768 // Increase heap size
    You are just wasting resources you will know if you need this.
    Thanks, I didn't know this. Can you specify which flags for that command?

    I assume I can just edit admin_overrides.cfg as to who can use that command?
    __________________
    ozrich is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 03-15-2019 , 03:05   Re: Slay Bots Plugin
    Reply With Quote #4

    Quote:
    Originally Posted by ozrich View Post
    Thanks, I didn't know this. Can you specify which flags for that command?

    I assume I can just edit admin_overrides.cfg as to who can use that command?
    Everything you need is here
    https://wiki.alliedmods.net/Admin_commands_(sourcemod)

    and yes you can use admin_overrides.cfg to change access.
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux is offline
    ozrich
    AlliedModders Donor
    Join Date: Oct 2015
    Old 03-15-2019 , 08:25   Re: Slay Bots Plugin
    Reply With Quote #5

    Quote:
    Originally Posted by Lux View Post
    Everything you need is here
    https://wiki.alliedmods.net/Admin_commands_(sourcemod)

    and yes you can use admin_overrides.cfg to change access.
    Thanks again, I've bookmarked that page. I knew most of it, but a few things I didn't know.
    __________________
    ozrich is offline
    Reply


    Thread Tools
    Display Modes

    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 06:18.


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