Clear Menus v0.4

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Clear Menus v0.4

Post 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
Post Reply

Return to “General Purpose”