Check if LocalPlayer is in console

IsValid will not work since 1. it’s LocalPlayer() not ply (serverside) 2. it’s not in the player say / player chat / whatever hook that is.

So how do I check if LocalPlayer is using the console? e.g.
[lua]if LocalPlayer():InConsole() then return end;[/lua]


Use the wiki before making a thread. Also I have no idea what you’re even talking about in the first sentence, it’s all completely irrelevant to the thread topic.

It was probably lower when you made this topic, but really?