Invalid command message?
#3

Quote:
Originally Posted by FalconX
Посмотреть сообщение
pawn Код:
public OnPlayerCommandText( playerid, cmdtext[ ] )
{
    if ( !strcmp( "/mycommand", cmdtext, true, 10 ) )
    {
        // Do something here
        return 1;
    }
    return SendClientMessage( playerid, -1, "INVALID COMMAND" ); // change return 0; to return SendClientMessage( ... );
}
I guess you want this

Hope this helps?

Regards,
FalconX
OK, I'll give it a go.
Reply


Messages In This Thread
Invalid command message? - by seanny - 03.08.2012, 19:29
Re: Invalid command message? - by FalconX - 03.08.2012, 19:35
Re: Invalid command message? - by seanny - 03.08.2012, 20:02

Forum Jump:


Users browsing this thread: 1 Guest(s)