View Single Post
  #1  
Old 11-27-2012, 06:37 PM
jsr
Hill Giant
 
Join Date: Aug 2008
Location: melbourne
Posts: 187
Default Outputting a float with entity_list.messageclose?

I'm debugging some code by dumping a number of variables into /say, float's don't display correctly.
Code:
entity_list.MessageClose(this, false, 200, MT_say, "someint is %d, somefloat is %d", someint, somefloat);//DEBUG
I've tried converting the float to an int in the output but it's not giving me the precision I need. Is there another parameter I should use instead of %d?
Reply With Quote