Detecting Few Process inside an SAMP Server
#5

Quote:
Originally Posted by [ISS]jumbo
Посмотреть сообщение
How to detect when a Player is Shooting at X,Y,Z Points?
search for

pawn Код:
IsPlayerAiming(playerid, Float:x, Float:y, Float:z, Float:radius)
I dont find any native as such that.

Quote:
Originally Posted by MP2
Посмотреть сообщение
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).
Now that's pretty awesome. THANKS for all the information there ma bro. You have always been a savior.

Rep+6 to MP2
Thank to everyone for replying.
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: 1 Guest(s)