Raised This Month: $ Target: $400
 0% 

Knife, c4, and hegrenade only


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
organizedKaoS
Senior Member
Join Date: Feb 2006
Old 03-03-2006 , 16:35   Knife, c4, and hegrenade only
Reply With Quote #1

Can someone help me with this please?

this is from team06

Code:
register_event("CurWeapon","knife","b" "1=1")   public knife(id) {     if(whateverhere)     {         new wpID = read_data(2)         if(wpID != CSW_KNIFE && wpID != CSW_C4)         {             engclient_cmd(id, "weapon_knife")         } }

If I did this:
Code:
register_event("CurWeapon","knife","b" "1=1")   public knife(id) {     if(whateverhere)     {         new wpID = read_data(2)         if(wpID != CSW_KNIFE && wpID != CSW_C4 && wpID != CSW_HEGRENADE)         {             engclient_cmd(id, "weapon_knife")         } }

Would it work? Or would I have to change some things around/differently? Thanks in advance for any help. I have tried this, but it wont let me plant the bomb...idk "newb". Or if someone could show me how to find if the weapon is not one of those three. Thanks again.
organizedKaoS is offline
 


Thread Tools
Display Modes

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 20:13.


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