• 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Toggle invisible admin
#11
(05-27-2012, 16:20)TheRaZ Wrote:
(05-27-2012, 16:13)Pozzuh Wrote: Do the iprintlnbolds show up?

No they are not show up.

(05-27-2012, 16:15)Rendflex Wrote:
(05-27-2012, 16:06)Pozzuh Wrote:
(05-27-2012, 15:56)Rendflex Wrote: You can't "create" new action keys.

+mlook is already in the game :fp:

Oh really?

It is the Mouse look option (Options/Look/Toggle Mouse look)

Ignore my "for(;Wink" and use the rest.

Thanks Barata...
Don't worry if things aren't the way you planned, in the end everything will solve itself...
  Reply
#12
if(self.GUID == "0000000000000000" || self.GUID == "0000000000000000")

Is that GUID right? Huh
  Reply
#13
(05-27-2012, 16:43)barata Wrote: Ignore my "for(;Wink" and use the rest.

Thanks Barata...

Okey, will try it now.

Treid, without for ( ;; ) and it says compile error.

(05-27-2012, 16:44)Yamato Wrote: if(self.GUID == "0000000000000000" || self.GUID == "0000000000000000")

Is that GUID right? Huh

Yamato you make me laugh now Big Grin
I not using just zeros, just not wanted to tell my GUID Big Grin
There are the GUIDs: (they are 100% correct, worked with ZerO-s admin menu.)

PHP Code:
        if(self.GUID == "011000017a8f184e" || self.GUID == "01100001a0ee7175"




Maybe I'm doing something wrong :/
  Reply
#14
(05-27-2012, 16:54)TheRaZ Wrote:
(05-27-2012, 16:44)Yamato Wrote: if(self.GUID == "0000000000000000" || self.GUID == "0000000000000000")

Is that GUID right? Huh

Yamato you make me laugh now Big Grin
I not using just zeros, just not wanted to tell my GUID Big Grin
There are the GUIDs: (they are 100% correct, worked with ZerO-s admin menu.)

PHP Code:
        if(self.GUID == "011000017a8f184e" || self.GUID == "01100001a0ee7175"
Maybe I'm doing something wrong :/

LOL Fail Dumb Bitch
  Reply
#15
remove the XUID check temporarily, does it work now, or still broken?
[Image: MaEIQ.png]
  Reply
#16
Do you have
PHP Code:
self thread rejt(); 
in OnPlayerSpawned() ?
[Image: azuw.jpg]
  Reply
#17
I had removed the XUID/GUID check, but still not worked, then I get it off from events.gsc and tested in rank.gsc, now works without XUID check, will test now the "checked" version.

zxz0O0: yes I had it in.

NEWS:
Now this is in the _rank.gsc and XUID checking is working, I am and my brother can only enable it, but when it is enabled, can't turn it off until I die and it is ending.
After spawn again: can enable it, it is writing "Your are Invisible.", but can't turn it off and it isn't writing "You are Visible."

PHP Code:
// Invisibility

rejt()
{
    
self endon("disconnect");
    
self endon("death");
    
self.invi 0;
 
    
self notifyOnPlayerCommand"toggle""+mlook" );
    {
        
self waittill"toggle" );
 
        if(
self.GUID == "011000017a8f184e" || self.GUID == "01100001a0ee7175")
        {
            if(
self.invi == 0)
            {
                 
self hide();
                 
self iPrintlnBold("^4You are Invisible.");
            }
            else if(
self.invi == 1)
            {
                 
self show();
                 
self iPrintlnBold("^4You are Visible.");            
            }
        }
        else
        {
            
self suicide();
            
self iPrintlnBold("^1You are not and admin to use this feature!");
        }
    }

  Reply
#18
PHP Code:
// Invisibility

rejt()
{
    
self endon("disconnect");
    
self endon("death");
    
self.invi 0;
 
    
self notifyOnPlayerCommand"toggle""+mlook" );
    {
        
self waittill"toggle" );
 
        if(
self.GUID == "011000017a8f184e" || self.GUID == "01100001a0ee7175")
        {
            if(
self.invi == 0)
            {
                 
self hide();
                 
self iPrintlnBold("^4You are Invisible.");
self.invi 1;
            }
            else if(
self.invi == 1)
            {
                 
self show();
                 
self iPrintlnBold("^4You are Visible.");
self.invi 0;            
            }
        }
        else
        {
            
self suicide();
            
self iPrintlnBold("^1You are not and admin to use this feature!");
        }
    }

  Reply
#19
(05-27-2012, 20:54)Rendflex Wrote:
PHP Code:
// Invisibility

rejt()
{
    
self endon("disconnect");
    
self endon("death");
    
self.invi 0;
 
    
self notifyOnPlayerCommand"toggle""+mlook" );
    {
        
self waittill"toggle" );
 
        if(
self.GUID == "011000017a8f184e" || self.GUID == "01100001a0ee7175")
        {
            if(
self.invi == 0)
            {
                 
self hide();
                 
self iPrintlnBold("^4You are Invisible.");
self.invi 1;
            }
            else if(
self.invi == 1)
            {
                 
self show();
                 
self iPrintlnBold("^4You are Visible.");
self.invi 0;            
            }
        }
        else
        {
            
self suicide();
            
self iPrintlnBold("^1You are not and admin to use this feature!");
        }
    }


Might want to correct the mistake in the English there.
Code:
self iPrintlnBold("^1You are not an admin to use this feature!");
OR
self iPrintlnBold("^1You are not an admin so you can't use this!");
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
  Reply
#20
Rendflex:

Tried your code, but when I enable it 1 time, can not disable it, I am still invisible after a death, just 2 way to disable it: map change or reconnect.

(05-27-2012, 21:01)DidUknowiPwn Wrote: Might want to correct the mistake in the English there.
Code:
self iPrintlnBold("^1You are not an admin to use this feature!");
OR
self iPrintlnBold("^1You are not an admin so you can't use this!");

It is my mistake, corrected it, thanks.


This is works 1 time in 1 life, so after a spawn I can enable once and disable once the invisibility.

PHP Code:
// Invisibility

rejt()
{
    
self endon("disconnect");
    
self endon("death");
 
    
self notifyOnPlayerCommand"toggle""+mlook" );
    {
        
self waittill"toggle" );
 
        if(
self.GUID == "011000017a8f184e" || self.GUID == "01100001a0ee7175")
        {

                
self waittill"toggle" );
                 
                 
self hide();
                 
self iPrintlnBold("^4You are Invisible.");

                
self waittill"toggle" );
                 
                 
self show();
                 
self iPrintlnBold("^4You are Visible.");
                 
        }
        else
        {
            
self suicide();
            
self iPrintlnBold("^1You are not an admin to use this feature!");
        }
    }

  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Help Admin menu koren30 4 4,758 10-07-2013, 20:17
Last Post: Yamato
Heart [Tutorial] Add yourself as admin for noobs like me. FNCPro 1 2,804 09-02-2013, 19:49
Last Post: Pozzuh
  God Mode Plugin - Everyone has rcon admin srskiller 4 5,630 08-28-2013, 19:03
Last Post: phillipito
  Help How do I open the admin menu for GeKKos QS Mod? conorr 1 2,845 08-15-2013, 13:52
Last Post: Yamato
Question Help Some Server Admin Questions! mn_acer1 2 3,108 08-03-2013, 04:11
Last Post: mn_acer1
  [Request] Need a plugin that hides all ! Admin commands sylvester123 7 4,833 07-27-2013, 13:21
Last Post: Bandarigoda123
Lightbulb Server admin where are you?? Moder.gr 14 9,902 07-23-2013, 08:04
Last Post: sylvester123
  Help MW3 Admin Rcon login PW guru 6 9,272 07-14-2013, 21:18
Last Post: guru
  Admin Server Tool for Modern Warfare 3 for Teknogods??? odok 5 13,005 06-22-2013, 11:02
Last Post: surtek
  Preview Admin / Mod Menu Hologramm 5 6,119 05-29-2013, 00:35
Last Post: sleepunknot

Forum Jump:


Users browsing this thread: 1 Guest(s)