Skip to content

Instantly share code, notes, and snippets.

@MinoMino
Created December 10, 2015 03:13
Show Gist options
  • Save MinoMino/17a3f0176c067c09eba0 to your computer and use it in GitHub Desktop.
Save MinoMino/17a3f0176c067c09eba0 to your computer and use it in GitHub Desktop.
Reference custom paks.
import minqlx
class muh_workshop(minqlx.Plugin):
def __init__(self):
self.add_hook("map", self.handle_map)
minqlx.set_cvar_once("muh_references", "")
def handle_map(self, *args, **kwargs):
self.game.steamworks_items += self.get_cvar("muh_references", list)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment