Quote:
Originally Posted by Pattinho
Try this
PHP Code:
.... register_menucmd(register_menuid("Team_Select",1), (1<<0)|(1<<1)|(1<<4)|(1<<5), "team_select") .... ... public team_select(id,keys) { if (key==1) //Terrorist .... if (key==2) //CT ... if(key ==4) // Spectator }
|
lets say I want to block players picking the Terror team? like they'd hit button 1 (in order to pick TERRORIST TEAM). Then how do I block it? by returning PLUGIN_HANDLED?
__________________