How to get rid of unknown command from any player command?

  • Any script that has user commands I write always will say "unknown command" after typing them, which in return executes the command and performs it correctly. Every single example of other people's scripts do the same thing. Is there any work around on this where I can either block chat temporary after command is typed so the server doesn't return unknown command?

  • its in the AreaProtection system. in ur server folder go to scripts/AreaProtection and open commandListener.lua, its line 250, just put a -- before the event.player
    so just replace event.player:sendTextMessage("[#B0B0B0]Unknown command"); with --event.player:sendTextMessage("[#B0B0B0]Unknown command");

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!