i have the same problem, i change de original directory of server files:
materials/models/player/b4p/bdroid/head.vmt
materials/models/player/b4p/bdroid/head.vtf
materials/models/player/b4p/bdroid/head_normal.vtf
materials/models/player/b4p/bdroid/torso.vmt
materials/models/player/b4p/bdroid/torso.vtf
materials/models/player/b4p/bdroid/torso_normal.vtf
models/player/b4p/b4p_bdroid/bdroid.dx90.vtx
models/player/b4p/b4p_bdroid/bdroid.mdl
models/player/b4p/b4p_bdroid/bdroid.phy
models/player/b4p/b4p_bdroid/bdroid.vvd
to:
PHP Code:
new const String:model_tt[] = "bdroid"
public OnMapStart(){
precachear_model(model_tt)
AddFileToDownloadsTable("materials/models/player/bdroid/head.vmt")
AddFileToDownloadsTable("materials/models/player/bdroid/head.vtf")
AddFileToDownloadsTable("materials/models/player/bdroid/head_normal.vtf")
AddFileToDownloadsTable("materials/models/player/bdroid/torso.vmt")
AddFileToDownloadsTable("materials/models/player/bdroid/torso.vtf")
AddFileToDownloadsTable("materials/models/player/bdroid/torso_normal.vtf")
}
set model:
new String:modelo[100]
FormatEx(modelo, sizeof(modelo)-1, "models/player/tc/%s/%s.mdl", model_tt, model_tt)
SetEntityModel(client, modelo);
stock precachear_model(const String:model[]){
new String:modelito[100]
FormatEx(modelito, sizeof(modelito)-1, "models/player/tc/%s/%s.mdl", model, model)
if(FileExists(modelito)){
PrecacheModel(modelito, true)
AddFileToDownloadsTable(modelito)
}
FormatEx(modelito, sizeof(modelito)-1, "models/player/tc/%s/%s.dx90.vtx", model, model)
if(FileExists(modelito)) AddFileToDownloadsTable(modelito)
FormatEx(modelito, sizeof(modelito)-1, "models/player/tc/%s/%s.phy", model, model)
if(FileExists(modelito)) AddFileToDownloadsTable(modelito)
FormatEx(modelito, sizeof(modelito)-1, "models/player/tc/%s/%s.vvd", model, model)
if(FileExists(modelito)) AddFileToDownloadsTable(modelito)
}
and i have skins error in players :S
__________________