View Single Post
Plugin Info:     Modification:          Category:          Approver:   v3x (159)
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 03-26-2006 , 16:37   Commchair Cloaker (v0.7)
Reply With Quote #1

Code:
/*
* This plugin will make all built command chairs to close once a commander is inside.
* So players will not see which command chair they have to attack to eject the commander directly.
*
* Author:
*	-> White Panther
*
* v0.4:
*	- initial release
*
* v0.5:
*	- fixed:
*		- commchairs could be closed even if no commander was available
*		- command chair used by commander can be found again (when using offsets: 1 = commander / 2 = dummy in use)
*		- removed unneeded defines
*		- possible bug where new players could be seen as commanders
*	- changed:
*		- code improvements
*
* v0.6:
*	- fixed:
*		- Commander was unable to sell CCs
*		- when a dummy CC was destroyed commander was ejected
*	- changed:
*		- method of setting CC is in use
*		- engine module not needed anymore
*
* v0.7:
*	- fixed:
*		- linux support
*		- runtime error
*		- plugin not running on combat maps anymore
*/

#include <amxmodx>
#include <engine>
#include <fakemeta>
#include <ns>
Commchair Cloaker (download here or below)
Attached Files
File Type: sma Get Plugin or Get Source (commchair_cloaker.sma - 1649 views - 2.8 KB)
__________________
alias White Panther
karlos is offline