Ham_TraceAttack would call twice when TR_pHit's classname is "func_door"?
1 Attachment(s)
As shown in figure : cstrike 2013-05-20 17-09-39-578.jpg
TraceLine would call once in "func_door" but TraceAttack would call twice. Does anybody know why? |
Re: Ham_TraceAttack would call twice when TR_pHit's classname is "func_door"?
Depending on weapons, 1 (guns excepted deagle, smgs), 2 (deagle, riffles), or 3 (awp, m249??) traces are proceeded on each shot.
So TraceLine is fired that amount of time, and TraceAttack is fired on the hit entity, so could be different ents. Of, if you really shot with glock, non burst, then show your code, seems that you've made some mistake, and make sure you test with no other plugins loaded. |
Re: Ham_TraceAttack would call twice when TR_pHit's classname is "func_door"?
Quote:
PHP Code:
PHP Code:
|
Re: Ham_TraceAttack would call twice when TR_pHit's classname is "func_door"?
Yes, func_water is same as func_door, you can filter it with properties, may be some other func_, so use classname.
|
Re: Ham_TraceAttack would call twice when TR_pHit's classname is "func_door"?
Quote:
|
| All times are GMT -4. The time now is 16:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.