AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   DoD:S NoNades (https://forums.alliedmods.net/showthread.php?t=80274)

BackAgain 11-08-2008 16:51

DoD:S NoNades
 
4 Attachment(s)
Hi all,

DoD:S NoNades is a small but useful plugin. It enables or disables a specific granade type in Day of Defeat:Source. Since version 1.6, the players on the server are also able to decide whitch type of granades are allowed or not.

Installation:
  1. Copy the file "dod_nonades.smx" to ../dod/addons/sourcemod/plugins
  2. The plugin is enabled by default
Cvars:
  • sm_nonades_enabled (1=Enabled,0=Disabled), default=1
  • sm_nonades_filter (63=All nades filtered), default=63
Admin commands:
  • sm_nonades_vote (Needs admin flag "k")
Filter:

1 = weapon_frag_ger
2 = weapon_frag_us
4 = weapon_smoke_ger
8 = weapon_smoke_us
16 = weapon_riflegren_ger
32 = weapon_riflegren_us

Example filter: [No smoke granades]
4 + 8 = 12

Code:

sm_nonades_filter "12"

Example filter:
[No granades]
1 + 2 + 4 + 8 + 16 + 32 = 63

Code:

sm_nonades_filter "63"
Changelog:

1.5
  • Added a filter system
1.6
  • Added voting functionality
  • New admin command "sm_nonades_vote"

tatercrisp 11-10-2008 07:13

Re: DoD:S NoNades
 
works great. any way to switch off just smoke nades?

BackAgain 11-11-2008 04:01

Re: DoD:S NoNades
 
Quote:

Originally Posted by tatercrisp (Post 712310)
works great. any way to switch off just smoke nades?

Hi, added a filter system. Now you can switch on or off "just" smoke granades. ;)

tatercrisp 11-11-2008 18:34

Re: DoD:S NoNades
 
Thanks for the quick update. And thanks for this plugin.:D :up:

BackAgain 11-14-2008 08:23

Re: DoD:S NoNades
 
Hey guys, did a version update to 1.6 and added a voting functionality. Hope you enjoy it.

Have fun

BackAgain aka sMash

QDM 02-11-2009 11:51

Re: DoD:S NoNades
 
Hi,

This plugin needs an update. When I compile it, here's the compiler's message :

Code:

/home/groups/sourcemod/upload_tmp/texttHMxkL.sp(68) : warning 204: symbol is assigned a value that is never used: "CvarVersion"
Header size:          2828 bytes
Code size:            3796 bytes
Data size:            1104 bytes
Stack/heap size:      16384 bytes; Total requirements:  24112 bytes

1 Warning.

When I use your .smx, the grenades aren't blocked. Here's the console's message :

Quote:

ConVarRef sm_nonades_enabled doesn't point to an existing ConVar
SetConVar: No such cvar ( sm_nonades_enabled set to 0), skipping
Can you update it, please ? Thanks a lot.

playboycyberclub 01-09-2023 21:51

Re: DoD:S NoNades
 
1 Attachment(s)
DoD:S NoNades Fix for SourceMod v1.11 or v1.12


All times are GMT -4. The time now is 15:39.

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