Well, i have messed up again.
My plugin is not precaching the models. The bool is working, another part of the plugin has shown me that already.
The game is dod and the models' directories are correct, even uploaded to the right places. But the models are not being downloaded from the fastdownload site or the game server site.
PHP Code:
public plugin_precache() {
if(forest) {
precache_model("models/player/axis/axis.mdl")
precache_model("models/player/axis/axisT.mdl")
precache_model("models/player/allies/allies.mdl")
precache_model("models/player/allies/alliesT.mdl")
}
}
public hudmodelset(id) {
new team = get_user_team(id)
if(forest) {
switch(team) {
case 1: dod_set_model(id, "allies")
case 2: dod_set_model(id, "axis")
}
}
}
__________________