Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
that still does the same thing remove the gear but nothing on the screen. the reason i wanted it is because i dont wont to run another program to just auto ban. be a lot better to just see it in-game.
I think you need a 'hint' if you want it on screen:
hint format ["AWA ANTI-HACK: %1 (%2) was detected for %3 with the value '%4'", name _player, getPlayerUID _player, _hackType, _hackValue];
that didn't work either.
i guess nothing wants to work for me i copied the example that was on that page and still got nothing lolyup you're right, its late and I am being stupid, its server side so it won't work. sidechat might be the better option.
"hackFlag" addPublicVariableEventHandler {
_array = _this select 1;
_player = _array select 0;
_hackType = _array select 1;
_hackValue = format ["%1", _array select 2];
diag_log format ["AWA ANTI-HACK: %1 (%2) was detected for %3 with the value '%4'", name _player, getPlayerUID _player, _hackType, _hackValue];
_center = createCenter sideLogic;
_group = createGroup _center;
_logic = _group createUnit ["LOGIC", [0,0,0], [], 0, "NONE"];
_logic globalChat format ["AWA ANTI-HACK: %1 (%2) was detected for %3 with the value '%4'", name _player, getPlayerUID _player, _hackType, _hackValue];
};
_cght = format ["if !(isServer) then {['Anti-Hax', 'Caught: %1', 'For: %2 (%3)'] spawn BIS_fnc_infoText;};", _name, _reason, _field];
and this? a globachat with a gamelogic unit.
Code:"hackFlag" addPublicVariableEventHandler { _array = _this select 1; _player = _array select 0; _hackType = _array select 1; _hackValue = format ["%1", _array select 2]; diag_log format ["AWA ANTI-HACK: %1 (%2) was detected for %3 with the value '%4'", name _player, getPlayerUID _player, _hackType, _hackValue]; _center = createCenter sideLogic; _group = createGroup _center; _logic = _group createUnit ["LOGIC", [0,0,0], [], 0, "NONE"]; _logic globalChat format ["AWA ANTI-HACK: %1 (%2) was detected for %3 with the value '%4'", name _player, getPlayerUID _player, _hackType, _hackValue]; };
My question is how many items or hacks have been detected for you guys?
_object setVariable ["legitFlag", "1", false];
_building setVariable ["legitFlag", "1", false];