Server:unkown command
#1

Can any one help me when I enter a command not exist it's showen me the text Server:unkown command

How I can remove it

If you can help me please help
Reply
#2

any help?? I will do everything for it
Reply
#3

Код:
public OnPlayerCommandText
{
here is where you got your commands
  return 0;
}
Change the return 0; to

return SendClientMessage(playerid, COLOR_RED, "There is no command like this");

If you want to completely remove it, do


return SendClientMessage(playerid, COLOR_RED, "");
Reply
#4

PHP код:
//under OnPlayerCommandPerformed
    
if(!success)
    {
        return 
0;
    } 
Reply
#5

Quote:
Originally Posted by batonsa
Посмотреть сообщение
Код:
public OnPlayerCommandText
{
HERE IS WHERE YOU GOT UR COMMANDS
  return 0;
}
Change the return 0; to

return SendClientMessage(playerid, COLOR_RED, "invalid command, lol");
....

What command processor are you using? ZCMD, DCMD?
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)