Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

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

×