Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <cstrike>
public plugin_init()
{
register_plugin("Convert","0.1","ThantiK")
register_cvar("amx_convert","1")
register_event("DeathMsg","convert_meh_master","a")
register_menucmd(register_menuid("Team_Select"),(1<<0)|(1<<1),"team_select")
register_menucmd(-2,(1<<0)|(1<<1),"team_select") // VGUI menu
}
public team_select(id, key){
server_print("team_select: %s, %f, %i, %d ", key, key, key, key)
return PLUGIN_CONTINUE
}
What is wrong with those register menucmds?!...neither events fire the team_select function! (For CS1.6)
__________________
AMXX -- You want control? You got it.
tkwired.com cs 1.6 -- tkwired.com:27016