How to detect when a T is standing on a CT
Hello,
can somebody tell me, how to detect ( if......) when a Terrorist is standing on the head of a CT? I have to do this in the takedamage event, so you can use iVictim(T) and IAttacker(CT) I want do kill the CT when he shots on the T when the T is standing on his head. U understand?:wink: |
Re: How to detect when a T is standing on a CT
get origin both player and you hook the distance between t and ct origin[2]
|
Re: How to detect when a T is standing on a CT
you can use something like this
PHP Code:
|
| All times are GMT -4. The time now is 14:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.