Skip to content

DMS_fnc_BroadcastMissionStatus

eraser1 edited this page Jun 9, 2017 · 3 revisions

Author: eraser1

General Information: This function will broadcast a message to all clients. No return value.


Usage:

	[
		_messageTitle,
		[
			_messageColor,
			_message
		]
	] call DMS_fnc_BroadcastMissionStatus;



Parameters

_messageTitle < string >: The title of the message to be broadcasted. This is usually the name of the mission. EG "Mercenary Group".

_messageColor < string >: The color of the message in hex format. EG: "#ff0000" is red.

_message < any >: The actual message to be sent to clients.



Examples:

  • Example 1: ["Mercenary Group", ["#ff0000","The Mercenary Group packed up and ran away!"]] call DMS_fnc_BroadcastMissionStatus;

  • Example 2 (restart message): ["SERVER RESTART", ["#ff0000","Server restart in 5 minutes! Log out now!"]]call DMS_fnc_BroadcastMissionStatus;



Related Configs:

  • DMS_PlayerNotificationTypes
  • DMS_standardHint_Title_Size
  • DMS_standardHint_Title_Font
  • DMS_standardHint_Message_Color
  • DMS_standardHint_Message_Size
  • DMS_standardHint_Message_Font
  • DMS_dynamicText_Title_Size
  • DMS_dynamicText_Title_Font
  • DMS_dynamicText_Message_Color
  • DMS_dynamicText_Message_Size
  • DMS_dynamicText_Message_Font
  • DMS_textTiles_Title_Size
  • DMS_textTiles_Title_Font
  • DMS_textTiles_Message_Color
  • DMS_textTiles_Message_Size
  • DMS_textTiles_Message_Font