mirror of
https://github.com/Bjanski/ExAd.git
synced 2024-08-30 16:52:14 +00:00
small fixes
This commit is contained in:
parent
fe3447ddbc
commit
a59474586e
@ -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]
|
||||
format["%1%2", floor _nbr, _prefix]
|
@ -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 = "";
|
||||
|
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user