Is there a way i can check if a players command is valid or invalid using OnPlayerCommand?
Change icon for "Unknown command" message?
I don't think so. Why?
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
Ive tried this by using switch cases and reading the arguments but neither has worked for meMrBlue
I think you should be able to do this with either the OnServerMessage or OnMessagePlayer hooks
MrBlue
I think you should be able to do this with either the OnServerMessage or OnMessagePlayer hooks
ziceyIve 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.