Check if a player has x value of certain commands.

Hey guys!

I was wondering if theres any way of checking if a player has x value on his configuration, for example if a player has physics.steps 60

I know we can use the hook OnUserCommand to see if the player runs the command but what about if he already ran it before entering the server? Is there any way of checking this? 

Thank you very much!

PD: Sorry if the text sounds a bit confusing, english isnt my main language. 

hey, Connection contains a field like info or something which has a dictionary of command and value which might help.

Merged post

also Arkan has some physics.steps detection

Hey!

Thank you for the reply, if been looking for it for a few hours but im not very sure where to look that. Also, might you please answer me this 2 other questions?

- Is there a way to get where a debugged camera is looking just as we do with?

player.eyes.HeadRay()

- Is there a way to intercept a player console command or to overwrite an existing one? For example, im trying to modify what camspeed command does, i mean, I want to know when a user runs the console command and to do other things apart of changing the camspeed. I've tried to register the command with a plugin but it just wont work. 

Thank you very much!

debug camera is client side i believe

client commands arent sent to server, but u could try onservercommand if its a server one