Posts: 141
Threads: 38
Joined: Jan 2009
Reputation:
0
Hey, on my server when i do some of the commands i made it says unknown command, bu the command works, so how do i make it so it dpesnt say that?
like, how do i just completely get rid of that sentence? so even if i do a wrong command it doesnt say wrong command. TY!!
~~[Drift]~~
Posts: 141
Threads: 38
Joined: Jan 2009
Reputation:
0
loli do have that at the end of them, it still says that. =(
Posts: 141
Threads: 38
Joined: Jan 2009
Reputation:
0
sorry for the DP, but i just want to know how to get rid of that message all together, can you tell me plz?
Posts: 3,262
Threads: 30
Joined: Aug 2008
Reputation:
0
If you return with false the OnPlayerCommandText public, it will say "SERVER: Unknown command" when a player enters an unknown command.
If you have a known command and it keeps saying it. Something is wrong with this specific command.
Posts: 141
Threads: 38
Joined: Jan 2009
Reputation:
0
yeah i know that but uhh, can i make it so it doesnt say SERVER: UNKNOWN COMMAND? no matter what u type?, see what i think is, it is saying that because the command itself works but the prompt says it has errors, even though it works, so yeah, is there any way i can get rid of that message? or maybe make the pawno ignore the error?
Posts: 3,262
Threads: 30
Joined: Aug 2008
Reputation:
0
Yes. Return the public with 1.