Rawdamage returns nil whenever the mp_wpndmg of a weapon is set above 99.
1
2
3
4
2
3
4
addhook("hit","ops.main.hit") function ops.main.hit(id,source,weapon,hpdmg,apdmg,rawdmg) 	msg2(source,"©255000000RAW DAMAGE:"..rawdmg.."@C") end
this works with any mp_wpndmg up to 99, but upon setting it to 100, a LUA ERROR results "attempt to concatenate local 'rawdmg' (a nil value)"