Files
ACE3/addons
Vdauphin e9c1f5e18f Medical - Improve injured sound by exiting the function earlier if no player is around (#7521)
* Exit earlier the playInjuredSound if no player is around

* Check if _targets array has at least one player

* Remove useless parenthesis

Co-Authored-By: commy2 <commy-2@gmx.de>

* Handle player inside a vehicle

If any player is inside the area then the _targets will not be empty. This also handle the case where player is inside a vehicle or _unit is a player.

* Handle z axis

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

Co-authored-by: commy2 <commy-2@gmx.de>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2020-06-19 19:42:23 -05:00
..
2020-05-09 12:26:27 -05:00
2020-05-09 12:26:27 -05:00
2020-01-16 21:14:23 -06:00
2020-05-09 12:26:27 -05:00
2020-05-09 12:26:27 -05:00
2020-05-31 16:04:21 -05:00
2020-01-05 18:37:48 +01:00
2020-01-05 18:37:48 +01:00
2020-05-23 10:59:40 +02:00
2020-05-31 16:04:21 -05:00
2020-05-07 11:28:32 -05:00
2020-05-09 12:26:27 -05:00
2017-08-29 17:47:01 -05:00
2020-01-28 19:12:11 -06:00
2020-05-09 12:26:27 -05:00
2020-05-31 16:04:21 -05:00
2020-05-31 16:04:21 -05:00
2020-02-22 21:53:35 +01:00
2020-05-09 12:26:27 -05:00
2020-01-16 21:14:23 -06:00
2020-05-09 12:26:27 -05:00
2020-05-07 11:28:32 -05:00
2020-05-09 12:26:27 -05:00
2020-05-09 12:26:27 -05:00
2020-01-05 18:37:48 +01:00
2020-05-31 16:04:21 -05:00
2020-05-09 12:26:27 -05:00
2020-02-12 22:07:19 +01:00
2020-01-05 18:37:48 +01:00
2020-01-05 18:37:48 +01:00
2020-05-09 12:26:27 -05:00
2020-05-09 12:26:27 -05:00
2017-08-29 17:47:01 -05:00
2020-05-09 12:26:27 -05:00
2017-08-29 17:47:01 -05:00
2020-01-05 18:37:48 +01:00
2020-01-16 21:14:23 -06:00
2020-01-05 18:37:48 +01:00
2020-05-09 12:26:27 -05:00
2020-05-09 12:26:27 -05:00
2020-05-31 16:04:21 -05:00
2020-01-05 18:37:48 +01:00
2020-01-16 21:14:23 -06:00
2020-05-09 12:26:27 -05:00
2020-01-05 18:37:48 +01:00
2020-01-05 18:37:48 +01:00
2017-08-29 17:47:01 -05:00
2020-01-16 21:14:23 -06:00
2020-01-16 21:14:23 -06:00
2020-05-31 16:04:21 -05:00
2020-05-31 16:04:21 -05:00
2020-05-09 12:26:27 -05:00