Skip to content

Commit

Permalink
make print msg make sense
Browse files Browse the repository at this point in the history
  • Loading branch information
d3nd3 committed May 9, 2023
1 parent 003e0c0 commit 311017f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions user/sofplus/addons/http2.func
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function http2_init()

function http2_init_print()
{
echo "HTTP Downloader v1.2 Loaded"
echo "HTTP Downloader v1.3 Loaded"
}

function http2_spawn_dl()
Expand Down Expand Up @@ -55,7 +55,7 @@ function http2_spawn_dl()
else
{
// We have duration of configstrings to download map ( should freeze here possibly )
sp_sc_cvar_sset ~text "Downloading : " #_http2_mapname ".zip"
sp_sc_cvar_sset ~text "[HTTP] Checking repo for " #_http2_mapname ".zip"
echo #~text
sp_sc_cvar_save http_tmp ~full_path
}
Expand Down Expand Up @@ -119,6 +119,8 @@ function http2_dl_filename(*)
// Time is up! The server is ready for slow downloads
sp_sc_cvar_copy ~val #~1
//echo "DL FILENAME == " #~val
sp_sc_cvar_sset ~text "[HTTP] Map " #_http2_mapname ".zip not in repo"
echo #~text
}

// 1-Not connected
Expand Down

0 comments on commit 311017f

Please sign in to comment.