Raised This Month: $ Target: $400
 0% 

change code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
stupok
Veteran Member
Join Date: Feb 2006
Old 12-29-2009 , 02:33   Re: change code
Reply With Quote #2

Sounds like a request. I'm not sure what your menu has to do with it, either.

Thinking about this, you might want to catch the attack event, check if it's a gun with ammo, and then set the clip ammo to 0. You might also want to adjust the backpack ammo.

Maybe there's a "golden gun" plugin (golden gun from Golden Eye 007 has one bullet per clip), but I haven't searched for it.

Look for VEN's tutorial on catching shots in CS in the Code Snippets/Tutorials section.
__________________
stupok is offline
 



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 04:10.


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