06.07.2011, 10:15
wtf? exceeding 50 characters?
Try this :
Are you sure that command sends the error?
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;
}