Page 1 of 1

Clear Menus v0.4

Posted: Mon Nov 22, 2021 11:37 am
by greenie
/*
* This plugin removes all menus/votes a player has when joining (remaining from other servers)
*
* Author:
* -> White Panther
*
* v0.3:
* - initial release
*
* v0.4:
* -added:
* - define to either use engine or fakemeta
* -changed:
* - better client check if fully connected
* - new method to close menu ( thx VEN )
*/

// change this to 1 when you want to use fakemeta module instead of engine module
#define USE_FAKEMETA 0

#include <amxmodx>
#if USE_FAKEMETA == 0
#include <engine>
#else
#include <fakemeta>
#endif
eg:
a player is on server A and a vote started but he has not voted but just disconnected
then when he joins server B or A he will see the vote again but the player cannot do anything until a new vote comes or until he restarts the game

so using this plugin players will not be disturbed by such DEAD votes

plugin
source