Raised This Month: $51 Target: $400
 12% 

Clear Menus v0.4


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   General Purpose        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 - 2016 views - 1.2 KB)
__________________
alias White Panther
karlos is offline
 



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 00:58.


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