How to get rid and replace the SERVER: Unknown command message? - Printable Version +- Burgershot (https://www.burgershot.gg) +-- Forum: General (https://www.burgershot.gg/forumdisplay.php?fid=19) +--- Forum: Programming (https://www.burgershot.gg/forumdisplay.php?fid=56) +--- Thread: How to get rid and replace the SERVER: Unknown command message? (/showthread.php?tid=2299) |
How to get rid and replace the SERVER: Unknown command message? - Haitam - 2022-06-07 Hello, I am trying to learn PAWN scripting, how can I get rid of the SERVER: Unknown command message? And please tell me a good way to learn basics and start scripting! Thanks. RE: How to get rid and replace the SERVER: Unknown command message? - Markski - 2022-06-11 At the end of the OnPlayerCommandText callback, after your command code reaches the state where no command is found, send your own error normally with SendClientMessage, then return 1 |