Epoch/Sources/epoch_server_events/EpochEvents/MessageServer.sqf

15 lines
387 B
Plaintext
Raw Normal View History

2015-09-26 21:40:46 +00:00
// Random Messages
2015-10-28 15:16:00 +00:00
/*
2015-09-26 21:40:46 +00:00
_messages = [
"Message 1",
"Message 2",
"Message 3",
"Message 4",
];
["message", _messages param [floor(random (count _messages))]] call EPOCH_serverCommand;
2015-10-28 15:16:00 +00:00
*/
2015-09-26 21:40:46 +00:00
// Restart time
2017-05-02 12:35:38 +00:00
private _restartIn = round((EPOCH_forceRestartTime-diag_tickTime)/60);
2015-09-26 21:27:06 +00:00
["message", format["Welcome to Epoch Mod, server wlll restart in %1 minutes",_restartIn]] call EPOCH_serverCommand;