Raised This Month: $ Target: $400
 0% 

get attackers gun


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
VEN
Veteran Member
Join Date: Jan 2005
Old 02-28-2006 , 04:35  
Reply With Quote #8

Quote:
if you shoot someone with a usp it kills u.
it just kills you for shooting with any weapon
In case you wondering. This happens because your IF statement is always TRUE. You check if weapon equal to CSW_SCOUT OR if CSW_KNIFE. CSW_KNIFE is always true because it's constant positive integer.
Code:
    if( weapon == CSW_SCOUT || CSW_KNIFE ){         user_kill(attacker,0)
VEN 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 20:25.


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