mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Zeus module on dedicated server
This commit is contained in:
parent
375c81d9b0
commit
6c7ba7b5ae
@ -1,8 +1,9 @@
|
||||
//#define DEBUG_MODE_FULL
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_enabled","_doFragTrack", "_doSpall", "_spallTrack", "_spallTrackID"];
|
||||
private ["_enabled", "_doSpall", "_spallTrack", "_spallTrackID"];
|
||||
PARAMS_3(_gun,_type,_round);
|
||||
DEFAULT_PARAM(3,_doFragTrack,false);
|
||||
|
||||
if (!GVAR(enabled)) exitWith {};
|
||||
|
||||
@ -16,7 +17,6 @@ if(_round in GVAR(blackList)) exitWith {
|
||||
// Exit on max track
|
||||
if( (count GVAR(objects)) > GVAR(MaxTrack)) exitWith { };
|
||||
|
||||
_doFragTrack = false;
|
||||
if(_gun == ACE_player) then {
|
||||
_doFragTrack = true;
|
||||
} else {
|
||||
|
@ -129,7 +129,7 @@ if (_activated) then {
|
||||
|
||||
// Added by ace_zeus for ace_frag compatibility
|
||||
if (!isnil QEFUNC(frag,addPfhRound)) then {
|
||||
[ACE_player, _ammo, _projectile] call EFUNC(frag,addPfhRound);
|
||||
[objNull, _ammo, _projectile, true] call EFUNC(frag,addPfhRound);
|
||||
};
|
||||
|
||||
//--- Play sound
|
||||
|
Loading…
Reference in New Issue
Block a user