if( strcmp(cmd, "/notice", true ) == 0 && IsPlayerAdmin(playerid) ) { new TextArguments[256]; TextArguments = strtok(cmdtext, idx); { if( !strlen( TextArguments )){ SendClientMessage( playerid, COLOR_WHITE, "USAGE: /notice [message]." ); return 1; } new tempcmd[ 256 ]; format( tempcmd, 256, "%s", cmdtext[ 8 ] ); SendClientMessageToAll( COLOR_YELLOW, tempcmd ); return 1; } else { SendClientMessage(playerid, COLOR_RED, "You must be admin to use this command."); return 1; }