Raised This Month: $ Target: $400
 0% 

[CS:S/CS:GO] No Flashbangs


Post New Thread Reply   
 
Thread Tools Display Modes
Author
sh0tx
Junior Member
Join Date: Nov 2019
Plugin ID:
8060
Plugin Version:
1.0.0
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Removes the ability to buy/equip flashbangs.
    Old 05-22-2022 , 08:57   [CS:S/CS:GO] No Flashbangs
    Reply With Quote #1

    [CS:S/CS:GO] No Flashbangs
    Removes the ability to buy/equip flashbangs.

    CVars
    • sm_noflashbangs_enabled - Determines whether the plugin is enabled or not. 0 = disabled, 1 = enabled
    • sm_noflashbangs_remove_entities - Removes all flashbang entities when they are created, and despawns any flashbang grenades that are thrown. 0 = don't remove, 1 = remove
    • sm_noflashbangs_version - Plugin version. Do not edit.
    Attached Files
    File Type: sp Get Plugin or Get Source (noflash.sp - 33 views - 1.4 KB)
    __________________
    sh0tx is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 05-23-2022 , 03:38   Re: [CS:S/CS:GO] No Flashbangs
    Reply With Quote #2

    https://developer.valvesoftware.com/...ems_prohibited

    Consider attaching this to your plugin as well. Should change the buy menu UI to hide the flashbang.
    __________________
    I am available to make plugins for pay.

    Discord: Eyal282#1334
    eyal282 is offline
    sh0tx
    Junior Member
    Join Date: Nov 2019
    Old 05-24-2022 , 09:04   Re: [CS:S/CS:GO] No Flashbangs
    Reply With Quote #3

    Quote:
    Originally Posted by eyal282 View Post
    https://developer.valvesoftware.com/...ems_prohibited

    Consider attaching this to your plugin as well. Should change the buy menu UI to hide the flashbang.
    I don't think I should add that to the plugin if server owners can already use that cvar in their server configs.
    __________________
    sh0tx is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 05-24-2022 , 09:36   Re: [CS:S/CS:GO] No Flashbangs
    Reply With Quote #4

    Quote:
    Originally Posted by sh0tx View Post
    I don't think I should add that to the plugin if server owners can already use that cvar in their server configs.
    Server owners wouldn't use your plugin if they understood how to use it.

    If you feel like you have time to do it, it will just improve the plugin.
    __________________
    I am available to make plugins for pay.

    Discord: Eyal282#1334
    eyal282 is offline
    asdfxD
    Veteran Member
    Join Date: Apr 2011
    Old 05-24-2022 , 23:34   Re: [CS:S/CS:GO] No Flashbangs
    Reply With Quote #5

    Just use simply a cvar... ammo_grenade_limit_flashbang "0" in CSGO.

    Last edited by asdfxD; 05-24-2022 at 23:34.
    asdfxD 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 19:20.


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