Hi. I have a Question about Multifastdl.ini
Is it working when i add two different URLS? When yes how i have to add it correctly?
http://testurl.de/test/
http://secondstest.de/test2/
Or i have to add it so:
http://testurl.de/test/, http://secondstest.de/test2/
or
http://secondstest.de/test2/ http://testurl.de/test/
Thanks for Helping and Answers and tell me how correct add it..
--------------------------------------------------------------------------------------------------------------------------------------
One Question more, i dont sure .. its not clear in that Link. So when i have now 3 URLS, i know put 1 for 1 line in INI FIle But what about that then?
"sv_downloadurl "<LINK>"
"sv_allowdownload 1"
"sv_allowupload 1"
how i handle that then when i have 3 different urls?
Question about MutlifastDL ini URLS
Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com
-
- Membru, skill +1
- Posts: 228
- Joined: 11 Feb 2017, 12:13
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com...!
- Fond eXtream: 0
- Has thanked: 2 times
- Contact:
- LondoN eXtream
- Membru eXtream
- Posts: 2755
- Joined: 10 Oct 2014, 06:21
- Detinator Steam: Da
- SteamID: /id/london_extreamcs
- Reputatie: Fost scripter eXtreamCS
Fost moderator ajutator
Membru Club eXtreamCS (6 luni) - Fond eXtream: 0
- Location: Roman, Neamț
- Has thanked: 3 times
- Been thanked: 12 times
Search for multi downloadurl plugin
-
- Membru, skill +1
- Posts: 228
- Joined: 11 Feb 2017, 12:13
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com...!
- Fond eXtream: 0
- Has thanked: 2 times
- Contact:
Thx i checked that and found that:
So but when i want now 3 URLS i have to add them in that SMA File like how ? And what about Server.CFG then ? :/
Code: Select all
#include <amxmodx>
public plugin_init()
{
register_plugin("Multi Sv_downloadurl","1.1","Biscuit")
}
public RandomUrl()
{
new file[64] = "addons/amxmodx/configs/downloadurl.ini" //The file
new size = file_size(file,1) //Get the number of lines the file has
new random = random_num(0,size) //Get any line between 0 and the number of line
new trash //Useless
new UrlLine[256] //Where the line will be kept
read_file(file,random,UrlLine,256,trash)
set_cvar_string("sv_downloadurl", UrlLine) //download url
server_print("%s",UrlLine)
}
public client_connect(id)
{
RandomUrl()
}
- LondoN eXtream
- Membru eXtream
- Posts: 2755
- Joined: 10 Oct 2014, 06:21
- Detinator Steam: Da
- SteamID: /id/london_extreamcs
- Reputatie: Fost scripter eXtreamCS
Fost moderator ajutator
Membru Club eXtreamCS (6 luni) - Fond eXtream: 0
- Location: Roman, Neamț
- Has thanked: 3 times
- Been thanked: 12 times
Create a file "downloadurl.ini" then put in configs.
Then add in file link
test.de/url
test.dl/web
etc.
Then add in file link
test.de/url
test.dl/web
etc.
-
- Membru, skill +1
- Posts: 228
- Joined: 11 Feb 2017, 12:13
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com...!
- Fond eXtream: 0
- Has thanked: 2 times
- Contact:
so i dont need to put anything in sever.cfg ?
- LondoN eXtream
- Membru eXtream
- Posts: 2755
- Joined: 10 Oct 2014, 06:21
- Detinator Steam: Da
- SteamID: /id/london_extreamcs
- Reputatie: Fost scripter eXtreamCS
Fost moderator ajutator
Membru Club eXtreamCS (6 luni) - Fond eXtream: 0
- Location: Roman, Neamț
- Has thanked: 3 times
- Been thanked: 12 times
nopeInfamous2017 wrote:so i dont need to put anything in sever.cfg ?