Raised This Month: $95 Target: $400
 23% 

ClassBlocker (1.3)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Natural Selection        Category:   General Purpose        Approver:   devicenull (200)
CyberGuerrier
Senior Member
Join Date: May 2004
Old 07-01-2005 , 07:27   ClassBlocker (1.3)
Reply With Quote #1

ClassBlocker 1.3:

Tested on a win32 HLDS
Metamod 1.19p28
AMXX 1.76b
With default AMXX NS module for NS 3.1
With NS 3.2 Beta AMXX Module for NS 3.2 => http://www.nsmod.org/forums/index.php?showtopic=6589


This plugin disallow the evolution or upgrade while basing itself on the number of players in the game.

Example:
- by default if in the game you have less than 4 players, the evolution to onos, heavy or fade are impossible.

- always by default if in the games you have more thane 4 player (or 4 players) and less than 8 players, aliens can evolve to fade

You can configure the minimum number of players for each class, with the CVARS.


Version History:

Version 1.3 (current version):
- JetPack Blocking fixed
- Code optimized

Version 1.2:
- Adding JetPack Blocking
- Addin new cvar for JetPack Blocking (cblocker_minplayers_jp)
- Removed client_print changeg by ns_popup

Version 1.1:
- Fixed minplayers (from cvars) message for onos and heavy

Version 1.0:
- First release



Number of downloads from older version: 180 From AMXMODX.org 49 From nsmod.org
Attached Files
File Type: sma Get Plugin or Get Source (ClassBlocker.sma - 1267 views - 3.5 KB)
__________________

Last edited by CyberGuerrier; 12-20-2006 at 17:56.
CyberGuerrier is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 07-15-2005 , 14:12  
Reply With Quote #2

You need to require_module() all of the modules you use.

Code:
public plugin_modules() {     require_module("cstrike") }
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
CyberGuerrier
Senior Member
Join Date: May 2004
Old 12-20-2005 , 18:54  
Reply With Quote #3

*** UPDATED ***

Version 1.2:
- Adding JetPack Blocking
- Addin new cvar for JetPack Blocking (cblocker_minplayers_jp)
- Removed client_print changeg by ns_popup
__________________
CyberGuerrier is offline
CyberGuerrier
Senior Member
Join Date: May 2004
Old 12-20-2006 , 17:52   Re: ClassBlocker (1.3)
Reply With Quote #4

*** UPDATED ***

Version 1.3 (current version):
- JetPack Blocking fixed
- Code optimized


Tested and working on NS 3.1 AND NS 3.2 (see first post for more details)
__________________
CyberGuerrier 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 02:05.


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