Answered God Mode Not Working

Reqo Mods

Modder
Messages
111
Reaction score
22
Points
578
Hey guys could you help me please im using a few codes from my old menu to his new menu base and my god mode aint working please help thanks!

this is the video with the menu base im using:
 

Liam

BU4
Messages
191
Reaction score
186
Points
818
Hey guys could you help me please im using a few codes from my old menu to his new menu base and my god mode aint working please help thanks!

this is the video with the menu base im using:
Edited Title - Please don't use Capital letters Constantly

Also, please post the code you are using at the moment. this will help others find you a solution. thanks :smile:
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,327
Reaction score
773
Points
973
Code:
InfiniteHealth(print)
{
    self.InfiniteHealth = booleanOpposite(self.InfiniteHealth);
    if(print) self iPrintln(booleanReturnVal(self.InfiniteHealth, "God Mode ^1Off", "God Mode ^2On"));
  
    if(self.InfiniteHealth)
        self enableInvulnerability();
    else
        if(!self.menu.open)
            self disableInvulnerability();
}
Code:
"Godmode", ::InfiniteHealth, true);
 

Reqo Mods

Modder
Messages
111
Reaction score
22
Points
578
this is the code i previously use?
ToggleGod()
{
if(self.God==false)
{
self iPrintln("God Mode: ^0ON");
self enableInvulnerability();
self.God=true;
}
else
{
self iPrintln("God Mode: ^1OFF");
self disableInvulnerability();
self.God=false;
}
}
 

God

Skiddy
Messages
339
Reaction score
237
Points
593
this is the code i previously use?
ToggleGod()
{
if(self.God==false)
{
self iPrintln("God Mode: ^0ON");
self enableInvulnerability();
self.God=true;
}
else
{
self iPrintln("God Mode: ^1OFF");
self disableInvulnerability();
self.God=false;
}
}
that should work
 

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,698
Reaction score
2,807
Points
1,053
Code:
InfiniteHealth(print)
{
    self.InfiniteHealth = booleanOpposite(self.InfiniteHealth);
    if(print) self iPrintln(booleanReturnVal(self.InfiniteHealth, "God Mode ^1Off", "God Mode ^2On"));
 
    if(self.InfiniteHealth)
        self enableInvulnerability();
    else
        if(!self.menu.open)
            self disableInvulnerability();
}
Code:
"Godmode", ::InfiniteHealth, true);
Are booleanOpposite and booleanReturnVal default functions? If not you should add them to the code, it won't work without them :smile:
 

Reqo Mods

Modder
Messages
111
Reaction score
22
Points
578
could someone plz send me the menu base with god mode that works on it please its not working for me thx vc
 

BaDSooD

Old CCM Member
Premium Member
Messages
586
Reaction score
312
Points
688
See on menu open and menu close functions if we have invulnerability(true)/(false)
 

BaDSooD

Old CCM Member
Premium Member
Messages
586
Reaction score
312
Points
688

Attachments

  • Screenshot_2016-06-10-20-46-11.png
    Screenshot_2016-06-10-20-46-11.png
    274.4 KB · Views: 171

iTahhr

Well-Known Member
Messages
248
Reaction score
118
Points
243
when u open and close the menu it enables and disables god mode that's why i used this base a long time ago
 
Top