Change icon for "Unknown command" message?
Is there a way i can check if a players command is valid or invalid using OnPlayerCommand?
I don't think so. Why?
5eab9027ce022.png Calytic
I don't think so. Why?

I wanted to replace the unkown command icon, they did it on RTG

I think you should be able to do this with either the OnServerMessage or OnMessagePlayer hooks
5e128e49266ae.png MrBlue
I think you should be able to do this with either the OnServerMessage or OnMessagePlayer hooks
Ive tried this by using switch cases and reading the arguments but neither has worked for me
5e128e49266ae.png MrBlue
I think you should be able to do this with either the OnServerMessage or OnMessagePlayer hooks
zicey
Ive tried this by using switch cases and reading the arguments but neither has worked for me

Pretty sure those hooks are only for messages sent from the server itself, not plugins or Oxide. You'd like want to take a look at the Custom Icon plugin, which is an example of the hooks you would have to use.