Post: God mode not working 100%... Fall damages!
02-04-2016, 11:29 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I got that Code

Toggle_God()
{
if(self.God==false)
{
self iPrintln("GodMod [^2ON^7]");
self.maxhealth=999999999;
self.health=self.maxhealth;
if(self.health<self.maxhealth)self.health=self.maxhealth;
self enableInvulnerability();
self.God=true;
}
else
{
self iPrintln("GodMod [^1OFF^7]");
self.maxhealth=100;
self.health=self.maxhealth;
self disableInvulnerability();
self.God=false;
}
}


But... i'm die to Fall damages... what the hell is this?
(adsbygoogle = window.adsbygoogle || []).push({});
02-05-2016, 12:49 AM #2
DF_AUS
NextGenUpdate Elite
    InfiniteHealth(print, printplayer)
{
self.InfiniteHealth = booleanOpposite(self.InfiniteHealth);
if (print)
self iPrintln(booleanReturnVal(self.InfiniteHealth, "God Mode ^1OFF", "God Mode ^2ON"));

if (self.unicorn==true || self.InfiniteHealth)
{
self enableInvulnerability();
self.unicorn=false;
}
else
{
if(self.menu.open == false)
self disableInvulnerability();
self.unicorn=true;
}
}
02-05-2016, 03:52 AM #3
Thanks, i will test Smile
02-05-2016, 03:56 AM #4
Got boolean script error '-'
02-05-2016, 05:05 AM #5
Fixed it! The mod menu has "self disableinvulnerability in it, after i close the menu, the god mode disables, thanks anyways for the help Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo