Edit "DMS_PlayerNotificationTypes" and Configs

This commit is contained in:
eraser1 2015-08-31 14:25:32 -05:00
parent 282308a31d
commit 34aab4a3b8
2 changed files with 7 additions and 8 deletions

View File

@ -48,10 +48,11 @@ DMS_DEBUG = false;
DMS_MinServerFPS = 10; // Minimum server FPS for missions to start DMS_MinServerFPS = 10; // Minimum server FPS for missions to start
//Mission notification settings //Mission notification settings
DMS_PlayerNotificationTypes = [ // Notification types. Supported values are: ["advancedHintRequest","dynamicTextRequest","standardHintRequest","systemChatRequest"] DMS_PlayerNotificationTypes = [ // Notification types. Supported values are: ["dynamicTextRequest", "standardHintRequest", "systemChatRequest"]
"standardHintRequest" "dynamicTextRequest",
"systemChatRequest"
]; ];
DMS_dynamicText_Size = 0.55; // Dynamic Text size for "dynamicTextRequest" notification type. DMS_dynamicText_Size = "0.55"; // Dynamic Text size for "dynamicTextRequest" notification type.
DMS_dynamicText_Color = "#FFCC00"; // Dynamic Text color for "dynamicTextRequest" notification type. DMS_dynamicText_Color = "#FFCC00"; // Dynamic Text color for "dynamicTextRequest" notification type.
DMS_MissionTypes = [ // List of missions with spawn chances. If they add up to 100%, they represent the percentage chance each one will spawn DMS_MissionTypes = [ // List of missions with spawn chances. If they add up to 100%, they represent the percentage chance each one will spawn

View File

@ -16,13 +16,11 @@ if (DMS_DEBUG) then
diag_log format["DMS_DEBUG BroadcastMissionStatus :: Notification types: |%1| for broadcasting mission status: %2",DMS_PlayerNotificationTypes,_this]; diag_log format["DMS_DEBUG BroadcastMissionStatus :: Notification types: |%1| for broadcasting mission status: %2",DMS_PlayerNotificationTypes,_this];
}; };
if !((typeName _this) == "STRING") then { if ((typeName _this) != "STRING") then
if (DMS_DEBUG) then {
{
diag_log format["DMS_DEBUG BroadcastMissionStatus :: Converting %1 to string...",_this];
};
_this = str _this; _this = str _this;
}; };
{ {
private "_args"; private "_args";