added server check for being server side only runned

This commit is contained in:
Valmo Trindade
2024-08-19 03:45:30 -03:00
parent 558a5fc4f7
commit 4ae677f06c

View File

@@ -3,8 +3,7 @@ params [
["_units", [], [[]]],
["_activated", true, [true]]
];
if (_activated) exitWith {
if (isServer && _activated) exitWith {
private _warning = format ["<t color='#FF8021'>ARMATAK</t><br/> %1", "Connecting..."];
[[_warning, 1.5]] call CBA_fnc_notify;