diff --git a/mpmissions/Exile.Altis/ExAdClient/StatsBar/Functions/fn_formatNbrToPrefixStr.sqf b/mpmissions/Exile.Altis/ExAdClient/StatsBar/Functions/fn_formatNbrToPrefixStr.sqf index 3b8596e..8ef6607 100644 --- a/mpmissions/Exile.Altis/ExAdClient/StatsBar/Functions/fn_formatNbrToPrefixStr.sqf +++ b/mpmissions/Exile.Altis/ExAdClient/StatsBar/Functions/fn_formatNbrToPrefixStr.sqf @@ -18,6 +18,6 @@ */ params [["_nbr", 0, [0]], ["_response", ""], ["_prefix", ""]]; -_prefix = if( _nbr > 1000 ) then { if( _nbr > 1000000 ) then { "M" } else { "K" } }else{ "" }; +_prefix = if( _nbr >= 1000 ) then { if( _nbr >= 1000000 ) then {_nbr = _nbr / 1000000; "M" } else {_nbr = _nbr / 1000; "K" } }else{ "" }; -format["%1%2", (str ( floor _nbr ) ) select [0, 3], _prefix] \ No newline at end of file +format["%1%2", floor _nbr, _prefix] \ No newline at end of file diff --git a/mpmissions/Exile.Altis/ExAdClient/StatsBar/RscTitles.cpp b/mpmissions/Exile.Altis/ExAdClient/StatsBar/RscTitles.cpp index 7664416..62c9e04 100644 --- a/mpmissions/Exile.Altis/ExAdClient/StatsBar/RscTitles.cpp +++ b/mpmissions/Exile.Altis/ExAdClient/StatsBar/RscTitles.cpp @@ -32,7 +32,7 @@ class ExAd_STATSBAR h = "64 * pixelH"; style=48; colorBackground[]={0,0,0,0}; - colorText[]={1,1,1,0.4}; + colorText[]={0,0,0,1}; font="TahomaB"; sizeEx=0; text = ""; diff --git a/mpmissions/Exile.Altis/ExAdClient/StatsBar/postInit.sqf b/mpmissions/Exile.Altis/ExAdClient/StatsBar/postInit.sqf index 6380315..9f9fef2 100644 --- a/mpmissions/Exile.Altis/ExAdClient/StatsBar/postInit.sqf +++ b/mpmissions/Exile.Altis/ExAdClient/StatsBar/postInit.sqf @@ -131,7 +131,7 @@ ExAd_SB_Show_FPS = profileNamespace getVariable ["ExAd_SB_Show_FPS", ExAd_SB_Sho ExAd_SB_Show_Time = profileNamespace getVariable ["ExAd_SB_Show_Time", ExAd_SB_Show_Time_Default]; ExAd_SB_Show_Temp = profileNamespace getVariable ["ExAd_SB_Show_Temp", ExAd_SB_Show_Temp_Default]; ExAd_SB_Show_Grid = profileNamespace getVariable ["ExAd_SB_Show_Grid", ExAd_SB_Show_Grid_Default]; -ExAd_SB_Show_Compass = profileNamespace getVariable ["ExAd_SB_Show_Compass", truExAd_SB_Show_Compass_Defaulte]; +ExAd_SB_Show_Compass = profileNamespace getVariable ["ExAd_SB_Show_Compass", ExAd_SB_Show_Compass_Default]; ExAd_SB_Show_PlayerCount = profileNamespace getVariable ["ExAd_SB_Show_PlayerCount", ExAd_SB_Show_PlayerCount_Default]; ExAd_SB_Show_ClanCount = profileNamespace getVariable ["ExAd_SB_Show_ClanCount", ExAd_SB_Show_ClanCount_Default];