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
191
Reaction score
184
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,333
Reaction score
770
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
339
Reaction score
239
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,834
Reaction score
2,860
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
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
505
Reaction score
262
Points
913

Attachments

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

iTahhr

Well-Known Member
Messages
248
Reaction score
119
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