PTakeDam (The Specialists)
I am trying to detect when a player is hurt. This works, but I cannot determine how to get the user's ID. So here is my code:
Code:
Can anyone assist? |
PTakeDam isn't directed to a player, so from what I gather, you can't find out who took damage and who dealt damage. There are a couple of other things you could do:
-The easiest way would be to use the client_damage foward from the TSX module. -You could use the TSHealth event, but then you have to watch for when people get the Health powerup, since it was cause their health to tick down. |
| All times are GMT -4. The time now is 16:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.