@joaquimandrade:
arkshine is pointing out an oddity in the code you posted in this thread.
I'll try to explain...
You're hooking TraceAttack, so it should be called when a player attacks with a weapon that makes tracelines. However, you said this:
Quote:
when you hit a shield a traceattack doesn't occur and the shield doesn't even exist as an entity
|
I think arkshine did not notice that you're creating an additional traceline, so he was confused, thinking that the function would never be called.
For me, two things are very odd:
1. Why does your additional traceline detect the shield?
2. Why isn't a traceattack triggered when the client shoots a shield?
It's just strange o_O
__________________