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

[CS:GO] Bot Drop Weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Author
eyal282
Veteran Member
Join Date: Aug 2011
Plugin ID:
6256
Plugin Version:
1.1
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Pressing "E" on a teammate bot will force him to drop his primary weapon. If pressing "E" will force him to drop the bomb instead, the weapon will not be dropped.
    Old 09-12-2018 , 10:46   [CS:GO] Bot Drop Weapons
    Reply With Quote #1

    Probably good for competitive servers and I made this plugin out of boredom. I recalled how competitive plays the bot gets an awp and he either gifts it to the other team, or if at best case scenario he's taken over, he has NO NADES, NO ARMOUR, ABSOLUTELY NOTHING!

    Take note that Valve regards MP7 and MP5-SD as the same classname, IDK how to bypass it at the moment so if you make a bot drop MP5-SD ( and I think M4A1-S as well ) it will write M4A4 and MP7.

    Press "E" on the bot to force him to drop his weapon. Your team will be notified of it happening so griefing is out of option.

    If the bot has a bomb, it will be dropped as usual instead of the weapon. If something has the capability of blocking bomb dropping with "E", weapon drop will be allowed as usual ( in case of plugin collisions or afk bots with bot_stop 1 or anything )
    Attached Files
    File Type: sp Get Plugin or Get Source (BotDropWeapons.sp - 5 views - 8.2 KB)
    __________________
    Accepting private work.

    myGaming unique coded versus no VIP no premium.

    Last edited by eyal282; 09-12-2018 at 16:28.
    eyal282 is offline
    mug1wara
    AlliedModders Donor
    Join Date: Jun 2018
    Location: Not your business.
    Old 09-12-2018 , 10:52   Re: [CS:GO] Bot Drop Weapons
    Reply With Quote #2

    __________________
    Taking requests, add me on Steam.

    mug1wara.xyz

    People make themselves understood in a way, others understand in another.

    Last edited by mug1wara; 09-12-2018 at 10:52.
    mug1wara is offline
    Vaggelis
    Senior Member
    Join Date: May 2017
    Old 09-12-2018 , 11:03   Re: [CS:GO] Bot Drop Weapons
    Reply With Quote #3

    Good plugin, about the griefing thing, you can add a timer that will block that spam.
    Also about the WeaponsTrie, why not just get the classname and remove the weapon_ and just print it ?
    Vaggelis is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 09-12-2018 , 11:56   Re: [CS:GO] Bot Drop Weapons
    Reply With Quote #4

    Quote:
    Originally Posted by Vaggelis View Post
    Good plugin, about the griefing thing, you can add a timer that will block that spam.
    Also about the WeaponsTrie, why not just get the classname and remove the weapon_ and just print it ?
    It will make AWP into awp, AK-47 into ak47, P2000 into hkp2000...

    About the griefing, I think you're right. And also allow spamming E to take bomb by adding a 2 second interval between taking bomb, and 5 second between after the bot drops his weapon.
    __________________
    Accepting private work.

    myGaming unique coded versus no VIP no premium.
    eyal282 is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 09-12-2018 , 12:40   Re: [CS:GO] Bot Drop Weapons
    Reply With Quote #5

    Updated to version 1.1

    Added a bomb delay defaulting at 1.2 seconds.

    Added a spam delay defaulting at 5.0.

    Spamming "E" will spam the client's own chat but who cares . Don't grief pl0x.
    __________________
    Accepting private work.

    myGaming unique coded versus no VIP no premium.
    eyal282 is offline
    Vaggelis
    Senior Member
    Join Date: May 2017
    Old 09-12-2018 , 13:27   Re: [CS:GO] Bot Drop Weapons
    Reply With Quote #6

    I forgot to say that you have added at WeaponsTrie pistols, nades etc... but they will not be used, the bots will only drop their primary weapons.
    Vaggelis is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 09-12-2018 , 14:12   Re: [CS:GO] Bot Drop Weapons
    Reply With Quote #7

    Quote:
    Originally Posted by Vaggelis View Post
    I forgot to say that you have added at WeaponsTrie pistols, nades etc... but they will not be used, the bots will only drop their primary weapons.
    Maybe in the future. It's only in plugin start so I might just comment them out.
    __________________
    Accepting private work.

    myGaming unique coded versus no VIP no premium.
    eyal282 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 00:36.


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