Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot General Programming How to get rid and replace the SERVER: Unknown command message?

 
  • 0 Vote(s) - 0 Average
How to get rid and replace the SERVER: Unknown command message?
Haitam
Offline

Burgershot Member
Posts: 3
Threads: 2
Joined: Jun 2021
Reputation: 0
Location: Morocco
#1
2022-06-07, 07:16 PM
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.
Markski
Offline

Burgershot Clerk

Posts: 127
Threads: 6
Joined: Apr 2019
Reputation: 5
Location: La Plata, Argentina
#2
2022-06-11, 10:56 PM
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
Website
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode