[21:08:55] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_BFOBE.dff.
[21:08:55] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_BFOBE.txd.
[21:08:55] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_BFYST.dff.
[21:08:55] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_BFYST.txd.
[21:08:55] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_BMOBE.dff.
[21:08:55] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_BMOBE.txd.
[21:08:57] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_C_worker.dff.
[21:08:57] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_C_worker.txd.
[21:08:57] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_Cba.dff.
[21:08:58] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_Cba.txd.
[21:08:58] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_Clb.dff.
[21:08:58] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_Clb.txd.
[21:08:59] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_Gda.dff.
[21:09:00] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_Gda.txd.
[21:09:00] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_Gdb.dff.
[21:09:00] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_Gdb.txd.
[21:09:02] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_HFOST.dff.
[21:09:02] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_HFOST.txd.
[21:09:03] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_HFOTR.dff.
[21:09:03] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_HFOTR.txd.
[21:09:03] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_HFYCG.dff.
[21:09:03] [requesting download]: playerid 0 redirecting download to https://github.com/username/servername/tree/master/models/Skins/ViceCity/vc_HFYCG.txd.
new DOWNLOAD_URL[] = "https://github.com/username/servername/tree/master/models";
public OnPlayerRequestDownload(playerid, type, crc)
{
if(!IsPlayerConnected(playerid)) return 0;
new url_final[256+1], filename[64+1], foundfilename = 0;
if(type == DOWNLOAD_REQUEST_TEXTURE_FILE)
{
foundfilename = FindTextureFileNameFromCRC(crc, filename, 64);
}
else if(type == DOWNLOAD_REQUEST_MODEL_FILE)
{
foundfilename = FindModelFileNameFromCRC(crc, filename, 64);
}
if(foundfilename)
{
format(url_final, 256, "%s/%s", DOWNLOAD_URL, filename);
RedirectDownload(playerid, url_final);
printf("[requesting download]: playerid %d redirecting download to %s.", playerid, url_final);
}
return 0;
}
I suspect github would like to speak to you about misuse of their system...
Seriously though, why have you hooked it up to your github, use a normal webserver... |
I do not know what web page to use, I used mega and follow the same error.
|
It's not true, you just use the cloudinary. You must register and upload files to the previously created folder, then use the appropriate link to download the models to the server.
https://cloudinary.com/ |