I tweaked one of kraada's custom tournament stats to display how often a player calls an all-in preflop. It works fine when I put the stat in the hud for each individual player but when I try to use it for table average I get "Expression: Invalid number of arguments passed to function 'format_number' (Expecting 4, Received 2)". I didn't change the format other than the name of the new custom stats. I also tried some of my other custom stats for table average and they worked fine so I'm not sure what's wrong. Here's the format for the stat:
format( '{1}% ({2}/{3})', format_number((cnt_p_call_shove / cnt_p_call_shove_opp) * 100 ,0,false,false), cnt_p_call_shove, cnt_p_call_shove_opp)
I also tried
format( format_number((cnt_p_call_shove / cnt_p_call_shove_opp) * 100 ,0,false,false)
and
/%.2f
but still got the same message
Any idea why it would work fine for individual stats but not for table average?
Thanks
