Command help[Not a command, command message]
#1

Код:
SERVER: Unknown command.
How to get rid of that so if a command wrong, it don't say that.
Reply
#2

pawn Код:
OnPlayerCommandText(playerid, cmdtext[])
{
    return 1; //You have return 0; here, replace it with return 1; (It's the last return value in that callback ^^)
}
=D
Reply
#3

ok thanks.
Reply
#4

or

pawn Код:
OnPlayerCommandText(bla, bla, bla)
{
   if(strcmp( bla bla bla bla)) // if you use that?
   {
       return 1;
   }
   return SendClientMessage(playerid, 0xFF0000AA, "SERVER: No such command!");
}
Reply
#5

Thanks guys.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)