snooper 发表于 2009-4-11 17:35:39

客户端模型文件下载不了

Error: server failed to transmit file 'sound/scientist/scream01.wav'
Error: server failed to transmit file 'sound/nihilanth/nil_now_die.wav'
Error: server failed to transmit file 'sound/nihilanth/nil_slaves.wav'
Error: server failed to transmit file 'sound/nihilanth/nil_alone.wav'
Error: server failed to transmit file 'sound/nihilanth/nil_thelast.wav'
Error: server failed to transmit file 'sound/scientist/scream20.wav'
Error: server failed to transmit file 'sound/scientist/scream22.wav'
Error: server failed to transmit file 'sound/scientist/scream05.wav'
Error: server failed to transmit file 'sound/items/smallmedkit1.wav'
Error: server failed to transmit file 'sound/vox/bizwarn.wav'
Error: server failed to transmit file 'sound/weapons/mortar.wav'
Error: server failed to transmit file 'sound/weapons/mortarhit.wav'
Error: server failed to transmit file 'sound/weapons/mine_charge.wav'
Error: server failed to transmit file 'sound/weapons/mine_deploy.wav'
Error: server failed to transmit file 'sound/bullchicken/bc_bite2.wav'
Error: server failed to transmit file 'sound/items/9mmclip2.wav'
Error: server failed to transmit file 'sound/debris/beamstart9.wav'
Error: server failed to transmit file 'models/player/nemesis/nemesis.mdl'
Error: could not load file models/player/nemesis/nemesis.mdl
Model models/player/nemesis/nemesis.mdl not found and not available from server
Cannot continue without model models/player/nemesis/nemesi

snooper 发表于 2009-4-11 17:39:32

客户端的sv_alldown参数都是正确的,服务器端也允许下在,都是1.请问要怎么样才能让客户端下载呢?谢谢了!

8874323 发表于 2009-4-11 18:38:07

public plugin_precache() {
precache_sound( "SFC/GBA.wav" )
precache_sound( "PSP/Orz.wav" )
   return PLUGIN_CONTINUE
}

precache_sound( "PSP/NDS.wav" )
                下载声音/目录/文件

snooper 发表于 2009-4-12 19:45:49

public plugin_precache() {
precache_sound( "SFC/GBA.wav" )
precache_sound( "PSP/Orz.wav" )
   return PLUGIN_CONTINUE
}

precache_sound( "PSP/NDS.wav" )
                下载声音/目录/文件 ...
8874323 发表于 2009-4-11 19:38 http://www.dt-club.net/forum/images/common/back.gif

老大,给我代码我不会啊 - -¥ 我很菜的啊

8874323 发表于 2009-4-13 12:41:39

把代码贴出来

snooper 发表于 2009-5-24 18:14:39

5# 8874323


代码我没有接触过啊。。。T_T

我是新手 发表于 2009-5-25 09:59:03

public plugin_precache() {
precache_sound( "scientist/scream01.wav" )
precache_sound( "nihilanth/nil_now_die.wav" )
precache_sound( "nihilanth/nil_slaves.wav")
precache_sound("...../.......wav")
   return PLUGIN_CONTINUE
}
按上述格式添加到你的服务器文件...cstrike\addons\amxmodx\scripting\miscstats.sma文件里即可,然后编译就OK了。编译格式为
precache_sound( "声音文件所在路径/声音文件.wav" )

但有一点,你的服务器里面要有你想让玩家下载的音效文件哦!
页: [1]
查看完整版本: 客户端模型文件下载不了