Invisible System!

Started by Jutt, May 03, 2022, 08:45 AM

Previous topic - Next topic

Jutt

Add Him Function OnPlayer Commands

  else if ( cmd == "invisible" )
{
// here your admin code!
else if (!text) SYN("/invisible <on/off>",player);
else {
if (text == "on")
{
Message("[#C1CDFF]"+player.Name+" [#459A0E]has turn on invisible mode [#FF4040]ON[#ffffff].");

player.Immunity = 255;
player.SetAlpha(0,255);
player.Color = RGB(127,0,255);
        if(GetShowNametags() == false);
}
if (text == "off")
{
Message("[#C1CDFF]"+player.Name+" [#459A0E]has turn off invisible mode [#FF4040]OFF[#ffffff].");
player.SetAlpha(255,0);
        SetShowNametags(true) ;
}
return 0;
}
}
Jutt

UncleRus

I LoperkinDead.My brothers scripters TimyrSem,VladSem

habi

Good job.
if(GetShowNametags() == false);
else SetShowNametags(false);