View Single Post
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 04-03-2012 , 22:46   Re: ConVar Halp - TF2
Reply With Quote #2

Change new Handle:cvar = GetConVarString(rulesurl) to:

Code:
decl String:cvar[128];
GetConVarString(rulesurl, cvar, sizeof(cvar));
Also add KvSetNum(setup, "customsvr", 1); if you want a fullscreen window, and decide whether you want semicolons in your code or not since, as of yet, you've used them on some lines and omitted them elsewhere. (If you want to use them, have #pragma semicolon 1 at the very top, so the compiler kicks up a warning if you leave them out.)

Also, you might already know this, but you don't need to link to a text file, your URL could be a full-blown HTML file if you want. Looks much prettier!

Last edited by 11530; 04-03-2012 at 23:00.
11530 is offline