AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Motd linking to files (https://forums.alliedmods.net/showthread.php?t=135141)

madeitout 08-13-2010 03:42

Motd linking to files
 
i want to have a motd that links to files in the servers directory.
ex. <a href='mapcycle.txt'>Mapcycle</a>
that link works if you put it in a motd and the user clicks it
but the problem is that the link brings up the mapcycle.txt in the
users cstrike folder and not the mapcycle.txt that is in the servers cstrike folder
does anyone know a way to get the link to open the mapcycle.txt in the servers cstrike folder and not the users?
or a work around??

naven 08-13-2010 04:10

Re: Motd linking to files
 
Hmm, maybe you should try just uplaod it to fastDL and give http:// link do the file uploaded on fastDL?

fysiks 08-13-2010 18:33

Re: Motd linking to files
 
Put the file on a webserver and link to that using a public URL. The game server is not a webserver.


All times are GMT -4. The time now is 22:01.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.