Posts: 535
Threads: 3
Joined: Feb 2010
Reputation:
0
Each command should return 1.
Posts: 200
Threads: 23
Joined: Dec 2007
Reputation:
0
I already know that... But that doesn't supress "Unknown Command" from showing up when a player types an unknown command. I want rid of it completely like I have seen done on some servers.
Posts: 1,008
Threads: 101
Joined: Apr 2008
Reputation:
0
He means, he doesnt like "Unknown Command" he wants the text change to somthing? (what i would put; dude, you f**ked up somwhere")
Posts: 717
Threads: 11
Joined: Jul 2008
Reputation:
0
Make sure your zcmd returns 1 even if the function is not found. If it doesn't, then you are most likely to get an error, "Unknown Command". Check up the include of yours where ZCMD is defined. Also make sure that your "OnPlayerCommandText" in your zcmd include returns 1. If it doesn't, you are most likely to get a error. It doesnt matter what your "OnPlayerCommandText" returns in your script, as its not the actual OnPlayerCommandText that the zcmd uses. Unless zcmd returns your "OnPlayerCommandText", you need to change zcmd's.