just print it on the log event for round start instead of removing it completely.....
And can you tell me what this is good for? dosent make eny sense-.-
PHP Code:
public showUsage(id) {
if ( !get_cvar_num("buy_menu") || !get_cvar_num("buy_showusage") )
return PLUGIN_HANDLED
if ( !get_cvar_num("buy_menu") ) {
client_print(id, print_chat, "[BUY] Type /buy to open up the buy menu!")
} else {
client_print(id, print_chat, "[BUY] Type /buy to open up the buy menu!")
}
return PLUGIN_HANDLED
}
cheek this once before the switch instead of doing it in every case
Quote:
if(get_cvar_num("buy_menu") == 0)
{
client_print(id, print_chat, "[Buy] This Plugin Is Disabled.")
return PLUGIN_HANDLED
}
|
__________________