Quote:
Originally Posted by Front Line
|
. You didn't have that module right..?
@ life_rest
我知道哪里出了差错。可是不知道怎么修理。
For those who want to attempt to fix it
Code:
new BUILD_VERSION[] = "2"
Line 15
Code:
Float:accuracy( t_Stats[8] ) {
if ( !t_Stats[4] ) return ( 0.0 )
return ( float( t_Stats[5] ) / float( t_Stats[4] ) )
}
Line 237 - 240
Code:
#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
__________________