Raised This Month: $ Target: $400
 0% 

[solved]catch smoke grenade bought


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Owyn
Veteran Member
Join Date: Nov 2007
Old 11-10-2009 , 14:00   [solved]catch smoke grenade bought
Reply With Quote #1

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_menucmdregister_menuid"BuyItem" )    , (1<<3)    , "cmd_hegren"    );

        
// VGUI
        
register_menucmd( -34    , (1<<3)    , "cmd_hegren"    );

        
// Steam
        
register_clcmd"hegren"    "cmd_hegren"    ); 
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode