View Single Post
AuricYoutube
Senior Member
Join Date: Aug 2016
Location: Here
Old 01-12-2023 , 15:31   Re: set sv_downloadurl to server ip
Reply With Quote #3

Quote:
Originally Posted by oqyh View Post
PHP Code:
#include <sourcemod>

#pragma semicolon 1
#pragma newdecls required

public void OnPluginStart()
{
    
FindConVar("sv_allowupload").SetInt(0);    //Set sv_allowupload 0
    
FindConVar("sv_allowdownload").SetInt(1);    //Set sv_allowupload 1
    
FindConVar("sv_downloadurl").SetString("https://fastdl.com/csgo"); //Set String Your FastDL


I meant for the plugin to grab the server ip from the server by itself not hardcoded
AuricYoutube is offline