Quote:
Originally Posted by Marttt
Your code looks ok.
I think is missing a debug to detect what is touching the entity, probably with that info you can understand what is happening
Otherwise, try waiting for a frame (or create a timer to test) before spawning the entity.
Maybe it is touching the death player itself (even with the IsPlayerAlive(client))
Also doesn't make much sense comparing the model in the OnTouchEntity check
|
Thanks for your reply. I already tried to do some debugging. I also tried to kill the opponent in a far distance, but it still says that I have touched it!
With the timer do you mean creating it before deleting it?
__________________