|
发表于 2005-7-9 22:56:13
|
显示全部楼层
来自 中国–广东–深圳–南山区
第二个插件不能编译,请教别人后好像是这些地方出错
不知道有没有人能帮忙修改下
Small:
new BUILD_VERSION[] = "2"
Line 15
Small:
Float:accuracy( t_Stats[8] ) {
if ( !t_Stats[4] ) return ( 0.0 )
return ( float( t_Stats[5] ) / float( t_Stats[4] ) )
}
Line 237 - 240
Small:
#if defined DEBUG
log_amx("--- killer_id[%d] wp_id[%d] WT[%d] --- victim_id[%d] wp_id[%d] WT[%d] ---",killer,k_wp_id,k_wt,victim,v_wp_id,v_wt)
log_amx("stats killer wpn return %d, stats victim wpn return %d, public wpn return %d",get_weapon_index(k_wpn_name),get_weapon_index(v_wpn_name),wpnindex)
log_amx("shot nums: %d, hit nums: %d, acc.: %.2f",v_stats[4],v_stats[5],accuracy(k_stats))
for (new a=1; a<8; a++)
log_amx("body[%d] hit num: %d, body hit reward: %d",a,v_body[a],get_body_reward(a))
log_amx("temp reward :%d, body reward total: %.2f, total reward: %.2f",b_temp,body_reward,total_reward)
#endif
Line 283 - 290 |
|