I've attached a patch with added support to fetch cvars from server. The SRCDS class are extended with a .cvar property and is very simple to use:
ds = SRCDS(host="xxx", rconpass="xxx") print ds.cvar("mp_friendlyfire")
cvar patch
Log in to post a comment.
cvar patch