View Single Post
Plugin Info:     Modification:          Category:          Approver:   v3x (159)
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 02-27-2006 , 11:34   Clear Menus v0.4
Reply With Quote #1

Code:
/*
* 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
Attached Files
File Type: sma Get Plugin or Get Source (clear_menus.sma - 2025 views - 1.2 KB)
__________________
alias White Panther
karlos is offline