Jump to content

Invisible admin for bots


Alexis

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";
		};
	};

 

Link to comment
Share on other sites

  • 1 month later...

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

 

 

Link to comment
Share on other sites

  • 4 months later...

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.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...

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";
        };
    };

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...