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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...