I had the lua_run(_cl) command before that did something like this:
It gets your player, then it gets what entity you’re looking on.
And returns the EntIndex() of the entity in console.
I of course forgot how I made that one.
Could someone recreate it please?
Not sure if it was EntIndex() now.
But it prints out all info about that entity.
Like material path, and so on