SERVER: Unknow Command
#3

Take away the code within the /* and */.
This is code that doesn't get compiled anyway, and is irrelevant to your problem.

This will make the code more efficient for us. And [pawn] tags would be lovely as well.
Make these changes and your problem is solved before you know it.

SERVER: Unknown Command is given when OnPlayerCommandText is on return 0;
Quote:
Originally Posted by SA:MP Wiki
Returning '0' is used to inform the server that the command
has not been successfully processed, and passes it to other scripts.
If there hasn't been a successful process, then you will get that
'SERVER: Unknown Command.' error.
https://sampwiki.blast.hk/wiki/OnPlayerCommandText
Reply


Messages In This Thread
SERVER: Unknow Command - by Mr.KaPoNi - 20.11.2011, 21:17
Re: SERVER: Unknow Command - by hellangel - 20.11.2011, 21:30
Re: SERVER: Unknow Command - by SVRP - 20.11.2011, 21:35
Re: SERVER: Unknow Command - by IceCube! - 20.11.2011, 22:18
Re: SERVER: Unknow Command - by MP2 - 20.11.2011, 23:52

Forum Jump:


Users browsing this thread: 1 Guest(s)