Jump to content
Sy8282

In game time

Recommended Posts

Is there anyway to display in game time via a server message? Would be really handy so people now how much time they have before the pitch black nights kick in

  • Like 1

Share this post


Link to post
Share on other sites

%GAMETIME% in your trusty admintool or GetGame().GetWorld().GetDate(out int year, out int month, out int day, out int hour, out int minute); in EnScript (scripts/3_Game/Global/World.c)

 

/**
	\brief Get actual ingame world time
	\param year
	\param month in range <1, 12>
	\param day in range <1, 31>
	\param hour in range <0, 23>
	\param minute in range <0, 59>
	@code
		int year, month, day, hour, minute;
		GetGame().GetWorld().GetDate(year, month, day, hour, minute);
	@endcode
*/
proto void GetDate(out int year, out int month, out int day, out int hour, out int minute);

 

Share this post


Link to post
Share on other sites

Bloody hell Phillip is there nothing you don't know. About this game....

Still need to find a bit of time to sort out my omegaSC but been busy should have some time Monday possibly

  • Haha 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×