Jump to content

Pick All Players and Get/Set GameTime


Wisakedjak

Recommended Posts

To get all online players use code like this: (lists all usernames of the players online into the console)

local players = getOnlinePlayers();for i=1, players:size(), 1 do	print("Player "..i..": "..getOnlinePlayers():get(i):getUsername() );end

I never tried to reset the gametime, So this should be answered by some other person.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...