I realy don't get the usage of this plugin but nvm...
Code:
#include <amxmodx>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "DainiusD"
#define MATCH_P 10
new Players[32], Act;
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
get_players(Players, Act);
if (Act < MATCH_P) {
set_hudmessage(0, 255, 0, -1.0, -1.0)
show_hudmessage(0, "Waiting For Other Players")
}
else if (Act > MATCH_P) {
set_hudmessage(0, 255, 0, -1.0, -1.0)
show_hudmessage(0, "Too Many Players On Server")
}
else if (Act == MATCH_P) {
set_hudmessage(0, 255, 0, -1.0, -1.0)
show_hudmessage(0, "Players Have Joined Server, Match Starting...")
}
}
I think you must do a check whenever a player is enter on server, and after that display the messages :s
Note: plugin_init() - is called once, when plugins are initiallyzed(
server open / mapchange)
__________________