Page 1 of 1

Player online time writing in file

Posted: Sun Oct 25, 2020 7:31 pm
by Ice-Cue
Hello,

i have a few problems to output the player online time to a file.

i used in the past "/silent-command game.write_file("hours.txt", game.players["Player"].online_time / 60 / 3600, false, 0)" to write the time to hours.txt

does someone know the issue?

thanks alot.

Cheers.
Ice-Cue