Added fail callback UDP switch to turn of config on clientside

This commit is contained in:
Valmo Trindade
2025-06-25 13:10:15 -03:00
parent a1bf9472ae
commit 4ae35335e2

View File

@@ -26,6 +26,10 @@ addMissionEventHandler ["ExtensionCallback", {
if (_function == "UDP Socket is not running") then {
SETVAR(player,EGVAR(client,eudConnected),false);
};
if (_function == "failed to bind UDP socket") then {
SETVAR(player,EGVAR(client,eudConnected),false);
};
};
case "TCP SOCKET": {
[_function, "success", _name] call FUNC(notify);