View Single Post
05/23/14, 03:49 PM   #7
zolan
 
zolan's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 11
Originally Posted by lyravega View Post
Is there a similar command that works like d()?
I do this in my addons. It will output to whatever chat window screen that the user has open.

CHAT_SYSTEM["containers"][1]["currentBuffer"]:AddMessage('message here')

It, of course, won't work until after PLAYER_ACTIVATED is fired off, so that won't work if you are just trying to get debug info but is great for outputting stuff for the user.

~Zolan
  Reply With Quote