open.mp forum
How to get rid and replace the SERVER: Unknown command message? - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: General (https://forum.open.mp/forumdisplay.php?fid=19)
--- Forum: Programming (https://forum.open.mp/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


RE: How to get rid and replace the SERVER: Unknown command message? - monicageller123 - 2024-02-27

i want to know too