From 529b35c051f1b194182e25eff8e074f0b6d11ede Mon Sep 17 00:00:00 2001 From: mharis001 Date: Sun, 21 Apr 2019 07:17:36 -0400 Subject: [PATCH] Fix number input for notify --- addons/ui/fnc_notify.sqf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/ui/fnc_notify.sqf b/addons/ui/fnc_notify.sqf index ef125ecc5..54a83476a 100644 --- a/addons/ui/fnc_notify.sqf +++ b/addons/ui/fnc_notify.sqf @@ -17,6 +17,7 @@ Parameters: Examples: (begin example) + ["Banana", 1.5, [1, 1, 0, 1]] call CBA_fnc_notify; (end) Returns: @@ -52,6 +53,10 @@ private _composition = []; _x params [["_text", "", ["", 0]], ["_size", 1, [0]], ["_color", [], [[]], [3,4]]]; + if (_text isEqualType 0) then { + _text = str _text; + }; + _size = _size * 0.55 / (getResolution select 5); _color params [