Invalid Command Length (Exceeding 50 characters)
#2

wtf? exceeding 50 characters?

Try this :
pawn Код:
if ( !strcmp( cmdtext, "/me", true ) )
{
    if ( cmdtext[ 3 ] != ' ' || ! cmdtext[ 4 ] ) // Style from hold-studio by Slice
        return SendClientMessage( playerid, -1, "SYNTAX: /me [ message ]" );

    new hello[ 24 ]; GetPlayerName( playerid, hello, sizeof ( hello ) );

    new string[ 128 ]; format( string, sizeof ( string ), "* %s %s", hello, cmdtext[ 3 ] );

    ProxDetector( 30.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );

    return 1;
}
Are you sure that command sends the error?
Reply


Messages In This Thread
Invalid Command Length (Exceeding 50 characters) - by adrianneow - 06.07.2011, 09:52
Re: Invalid Command Length (Exceeding 50 characters) - by Basicz - 06.07.2011, 10:15
Re: Invalid Command Length (Exceeding 50 characters) - by adrianneow - 06.07.2011, 15:08

Forum Jump:


Users browsing this thread: 1 Guest(s)