Whitelisting Anti hack

AsianKid

Well-Known Member
I try to white lis base building and Action menu from Blurgaming

I tried this
Code:
    {
        "+_tlmrand18+" = true;
        while {"+_tlmrand18+"} do
        {
            _cMenuDefault = ["""",""RscMainMenu"",""RscMoveHigh"",""#WATCH"",""#WATCH0"",""RscWatchDir"",""RscWatchMoreDir"",""#GETIN"",""RscStatus"",""RscCallSupport"",""#ACTION"",""RscCombatMode"",""RscFormations"",""RscTeam"",""RscSelectTeam"",""RscReply"",""#CUSTOM_RADIO"",""RscRadio"",""RscGroupRootMenu""""#USER:GeneralChatList"",""#USER:ChatQuestions"",""#USER:ChatResponses"",""#USER:ChatHostile"",""#USER:Emotes"",""#USER:ActionMenu"",];
            if !(commandingMenu in _cMenuDefault) then {showCommandingMenu """";};
            _tempRemoveAction = player addAction ["""", """", [], 1, false, true, """", ""false""];
            _startRemove = _tempRemoveAction - 35;
            _endRemove = _tempRemoveAction + 50;
            for '_i' from _startRemove to _endRemove do
 
 
            {
                _dayzActions = (s_player_recipeMenu,s_player_deleteCamoNet,s_player_netCodeObject,s_player_codeRemoveNet,_handle,s_player_enterCode,s_player_codeObject,s_player_codeRemove,s_player_disarmBomb,s_player_repairActions + r_player_actions2 + r_player_actions + ActionMenu
 
 
                [s_player_selfBloodbag,s_player_holderPickup,s_player_fillfuel5,s_player_fillfuel20,s_player_grabflare,s_player_removeflare,s_player_deleteBuild,s_player_forceSave,
                s_player_flipveh,s_player_fillfuel,s_player_dropflare,s_player_butcher,s_player_cook,
                s_player_boil,s_player_fireout,null,s_player_packtent,s_player_sleep,s_player_studybody,NORRN_dropAction]);
                if (!(_i in _dayzActions) and (_i > -1)) then {player removeAction _i};
            };
            player allowDamage true;
            sleep 1;
        };
    };
};

And I get this
Code:
22:24:53 Error in expression <tile","#USER:Emotes","#USER:ActionMenu",];
            if !(commandingMenu in _cMenuDefau>
22:24:53  Error position: <];
            if !(commandingMenu in _cMenuDefau>
22:24:53  Error Missing [
22:24:53 Error in expression <tile","#USER:Emotes","#USER:ActionMenu",];
            if !(commandingMenu in _cMenuDefau>
22:24:53  Error position: <];
            if !(commandingMenu in _cMenuDefau>
22:24:53  Error Missing [
 
on my first look you forgot the , between these two...
""RscGroupRootMenu"",""#USER:GeneralChatList""
 
Not letting me use F1 or its not loading the anti hacks now
Code:
_cMenuDefault = ["""",""RscMainMenu"",""RscMoveHigh"",""#WATCH"",""#WATCH0"",""RscWatchDir"",""RscWatchMoreDir"",""#GETIN"",""RscStatus"",""RscCallSupport"",""#ACTION"",""RscCombatMode"",""RscFormations"",""RscTeam"",""RscSelectTeam"",""RscReply"",""#CUSTOM_RADIO"",""RscRadio"",""RscGroupRootMenu"",""#USER:GeneralChatList"",""#USER:ChatQuestions"",""#USER:ChatResponses"",""#USER:ChatHostile"",""#USER:Emotes"",""#USER:ActionMenu"",];
            if !(commandingMenu in _cMenuDefault) then {showCommandingMenu """";};
            _tempRemoveAction = player addAction ["""", """", [], 1, false, true, """", ""false""];
            _startRemove = _tempRemoveAction - 35;
            _endRemove = _tempRemoveAction + 50;
            for '_i' from _startRemove to _endRemove do
 
 
            {
                _dayzActions = (s_player_repairActions + r_player_actions2 + r_player_actions + ActionMenu
 
 
                [s_player_recipeMenu,s_player_deleteCamoNet,s_player_netCodeObject,s_player_codeRemoveNet,_handle,s_player_enterCode,s_player_codeObject,s_player_codeRemove,s_player_disarmBomb,s_player_selfBloodbag,s_player_holderPickup,s_player_fillfuel5,s_player_fillfuel20,s_player_grabflare,s_player_removeflare,s_player_deleteBuild,s_player_forceSave,
                s_player_flipveh,s_player_fillfuel,s_player_dropflare,s_player_butcher,s_player_cook,
                s_player_boil,s_player_fireout,null,s_player_packtent,s_player_sleep,s_player_studybody,NORRN_dropAction]);
                if (!(_i in _dayzActions) and (_i > -1)) then {player removeAction _i};
            };
 
Back
Top