Detecting Few Process inside an SAMP Server
#4

Quote:
Originally Posted by Ballu Miaa
Посмотреть сообщение
How to detect when a Player jumps off from a Z+50 Point and hits on the ground?
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).

Quote:
Originally Posted by Ballu Miaa
Посмотреть сообщение
How to detect two vehicle's colliding with each other?
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.

Quote:
Originally Posted by Ballu Miaa
Посмотреть сообщение
How to detect when a vehicle is colliding with a Player?
Either detect the 'falling over' animation of the player, or use OnPlayerTakeDamage (NOTE: OnPlayerGiveDamage doesn't work with vehicle collisions for some reason).
Reply


Messages In This Thread
Detecting Few Process inside an SAMP Server - by Ballu Miaa - 02.11.2012, 03:39
Re: Detecting Few Process inside an SAMP Server - by iJumbo - 02.11.2012, 07:58
Re: Detecting Few Process inside an SAMP Server - by iggy1 - 02.11.2012, 09:17
Re: Detecting Few Process inside an SAMP Server - by MP2 - 02.11.2012, 09:32
Re: Detecting Few Process inside an SAMP Server - by Ballu Miaa - 03.11.2012, 18:35
Re: Detecting Few Process inside an SAMP Server - by [HK]Ryder[AN] - 04.11.2012, 03:48

Forum Jump:


Users browsing this thread: 2 Guest(s)