ACE3/addons/frag/functions/fnc_dev_fired.sqf
lambdatiger 1da1c68803
Apply suggestions from code review
Small formatting changes and small errors

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-02-14 16:50:09 -06:00

22 lines
645 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: Lambda.Tiger
* Add fired rounds to dev track.
*
* Arguments:
* Parameters inherited from EFUNC(common,firedEH)
*
* Return Value:
* Nothing Useful
*
* Example:
* [clientFiredBIS-XEH] call ace_frag_fnc_fired
*
* Public: No
*/
//IGNORE_PRIVATE_WARNING ["_unit", "_weapon", "_muzzle", "_mode", "_ammo", "_magazine", "_projectile", "_vehicle", "_gunner", "_turret"];
TRACE_10("firedEH:",_unit,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile,_vehicle,_gunner,_turret);
[_projectile, true, [side group _unit, side group ACE_player] call BIS_fnc_sideIsFriendly] call FUNC(dev_addRound);