Make it look like a player chats


I wonder, how can I make my ent output to a players chat, like it was a player?
HUD_PRINTTALK for an ent NPC looks boring, I want it to look like a normal player wrote it.
Ent.Name: blabla.
Just like
Busan1: blabla.

Thank you.

That should work.

Network the name/message to the clients in a net message, and from there use chat.AddText.

[lua]chat.AddText(ent:Name() … " says hello!")[/lua]

gunna need to network a few things and such

Thank you both.