code to catch HE nade bought, but i'd like to do the same for the smoke greneade, i'm not very familar with "<<" things + is there a cl_cmd like hegren for smoke one?
PHP Code:
// HE nade
// Old Style
register_menucmd( register_menuid( "BuyItem" ) , (1<<3) , "cmd_hegren" );
// VGUI
register_menucmd( -34 , (1<<3) , "cmd_hegren" );
// Steam
register_clcmd( "hegren" , "cmd_hegren" );
__________________