Jump to content
Sign in to follow this  
Alexis

Invisible admin for bots

Recommended Posts

Connect in infiStar, or your admin panel

invisibleBoth = {
			Private ["_sl"];
			if !(captive player) then
				{
					player setCaptive 1;
					_sl	=	format["%1 invisible both ON", (name player)];
				}else{
					player setCaptive 0;
					_sl	=	format["%1 invisible both OFF", (name player)];
				PVAH_WriteLogReq = [player, _sl];
				publicVariableServer "PVAH_WriteLogReq";
		};
	};

 

Share this post


Link to post
Share on other sites

i put it at the bottom of AT.sqf and added 1 line in superadmin menu

            adminadd = adminadd + ["  Admin DebugMonitor",admin_debug,"1","0","0","0",[]];
            adminadd = adminadd + ["  Admin Invisible to Bots",invisibleBoth,"1","0","0","0",[]];
            if(MOD_EPOCH)then

 

 

Share this post


Link to post
Share on other sites

Is this allowed?? it says in the read me of infistar.

As author he is the only one allowed to modify, share (sell, post, [..]) it.
You are not allowed to copy/modify any kind of intellectual property of infiSTAR (this),
unless you are permitted by infiSTAR.

Share this post


Link to post
Share on other sites

this right code for last infi 1450

invisibleBoth = 
    {
        if !(captive player) then
        {
            player setCaptive 1;
            _sl = format["%1 invisible both ON", name player];
            PVAH_WriteLogReq = [player,toArray _sl];
            publicVariableServer "PVAH_WriteLogReq";
        }
        else
        {
            player setCaptive 0;
            _sl = format["%1 invisible both OFF", name player];
            PVAH_WriteLogReq = [player,toArray _sl];
            publicVariableServer "PVAH_WriteLogReq";
        };
    };

 

Share this post


Link to post
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.

Loading...
Sign in to follow this  

  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...