Unknown Command isn't showing anymore.
#1

Whenever someone types a unknown command. It would say "Unknown Command" now it doesn't say anything in chat.
Reply
#2

Which command processor are you using? If you don't know, please show us the includes in your gamemode.
Reply
#3

zcmd
Reply
#4

Look for the following callback in your gamemode:

PHP код:
OnPlayerCommandPerformed(playeridcmdtext[], success
Add a check if success is 0, if so, return a value of 0 for the 'Unknown command' message to display.

More information in the main zcmd thread:

https://sampforum.blast.hk/showthread.php?tid=91354
Reply
#5

Quote:
Originally Posted by Troydere
Посмотреть сообщение
Look for the following callback in your gamemode:

PHP код:
OnPlayerCommandPerformed(playeridcmdtext[], success
Add a check if success is 0, if so, return a value of 0 for the 'Unknown command' message to display.

More information in the main zcmd thread:

https://sampforum.blast.hk/showthread.php?tid=91354
Thanks. That fixed the problem. Repped.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)