AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:S] No Flashbangs (https://forums.alliedmods.net/showthread.php?t=337870)

sh0tx 05-22-2022 08:57

[CS:S] No Flashbangs
 
1 Attachment(s)
[CS:S] 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.

eyal282 05-23-2022 03:38

Re: [CS:S/CS:GO] No Flashbangs
 
https://developer.valvesoftware.com/...ems_prohibited

Consider attaching this to your plugin as well. Should change the buy menu UI to hide the flashbang.

sh0tx 05-24-2022 09:04

Re: [CS:S/CS:GO] No Flashbangs
 
Quote:

Originally Posted by eyal282 (Post 2779984)
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.

eyal282 05-24-2022 09:36

Re: [CS:S/CS:GO] No Flashbangs
 
Quote:

Originally Posted by sh0tx (Post 2780070)
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.

asdfxD 05-24-2022 23:34

Re: [CS:S/CS:GO] No Flashbangs
 
Just use simply a cvar... ammo_grenade_limit_flashbang "0" in CSGO.


All times are GMT -4. The time now is 11:07.

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