Jump to content

switchmove/removeAction remoteexec restriction


Recommended Posts

Hello!

Just as the title says, I am having trouble getting this remoteexec whitelsited..

I have the function whitelisted in my cfgremoteexec.hpp, under the functions class:
        F(BIS_fnc_switchmove,ANYONE)
        F(BIS_fnc_removeAction,ANYONE

then in my battleeye remoteexec.txt file here it is, :
        !BIS_fnc_(effectKilled(AirDestruction|Secondaries)|execVM|removeAction|switchmove)

 

We need this to work as we use a tazer mod that plays an animation on a player when shot by tazer, everytime the player is shot the RPT plays this message:

Scripting command 'switchmove' is not allowed to be remotely executed

Anytime the player calls the remoteExec on a rmeoveaction this plays:
Scripting command 'removeaction' is not allowed to be remotely executed
Any ideas where I went wrong? 

Any help is appreciated.
SlavKing
Link to comment
Share on other sites

I have added it like this in my CfgRemoteExec:

Spoiler

    class Commands {
        mode = 1;
        jip = 0;

        F(addHandgunItem,ANYONE)
        F(addMagazine,ANYONE)
        F(addPrimaryWeaponItem,ANYONE)
        F(addWeapon,ANYONE)
        F(setFuel,ANYONE)
        F(switchMove,ANYONE)
    };
};
 

maybe that works for you?

Edited by gustavseitztestarma3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.