03.11.2012, 18:35
Quote:
How to detect when a Player is Shooting at X,Y,Z Points?
search for pawn Код:
|
Quote:
Detect the 'falling' animation in OnPlayerUpdate, and store their Z coordinate. When they land detect the 'splat' animation and get their new Z height, then find the difference (oldz-curz).
If two vehicles lose health at the same time and are very close to each other, you can say with some certainty that they collided. Either detect the 'falling over' animation of the player, or use OnPlayerTakeDamage (NOTE: OnPlayerGiveDamage doesn't work with vehicle collisions for some reason). |
Rep+6 to MP2
Thank to everyone for replying.