/*
* 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>