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)