Answered God Mode Not Working

Reqo Mods

Modder
Messages
111
Reaction score
22
Points
803
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
185
Reaction score
171
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,322
Reaction score
752
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
803
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
337
Reaction score
235
Points
818
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
5,093
Reaction score
2,881
Points
1,103
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
803
could someone plz send me the menu base with god mode that works on it please its not working for me thx vc
 

Inactive Account

Old CCM Member
Premium Member
Messages
479
Reaction score
241
Points
913

Attachments

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

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