the code
Syntax: Select all
from listeners import LevelInit
from engines.server import engine_servert
models = ['models/player/tm_phoenix.mdl', 'models/player/tm_pirate.mdl']
model_index = {}
current_map = ''
@LevelInit
def my_level_init_function(mapname):
global current_map
current_map = mapname
for x in models:
model_index[x] = engine_server.precache_model(x)
only preaching the built-in model...
here is some information
http://csgo-servers.1073505.n5.nabble.com/CS-GO-Please-help-strengthen-the-modding-community-td8471.html
so i'm wondering how to tell how much precache table has been used???
so i know if i'm hitting the limit or not??