Skip to content

Crash and bad global function call fix

Compare
Choose a tag to compare
@maximegmd maximegmd released this 21 Dec 18:07
· 1308 commits to master since this release

Let's you do crazy stuff like

player = CreateHandle("PlayerPuppet", Game.GetPlayer())
print(player.IsNaked())
-- the command below kills you
player.OnDied()

Or change the time

gameTime = CreateSingletonHandle("gameTimeSystem")
gameTime.SetGameTimeByHMS(12, 30, 0) -- 12h30m0s
print(gameTime.GetGameTime()) -- prints time in seconds